imagestack/tools/angestoepselt_typst/flake.nix
2025-06-04 22:02:58 +02:00

34 lines
670 B
Nix

{
description = "";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
};
outputs = {
self,
nixpkgs,
}: let
forAllSystems = function:
nixpkgs.lib.genAttrs [
"x86_64-darwin"
"x86_64-linux"
"aarch64-darwin"
"aarch64-linux"
] (system: function nixpkgs.legacyPackages.${system});
in {
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs; [
gnumake
uv
python3
ruff
pre-commit
];
};
});
};
}