compiler-construction/flake.nix
2026-03-24 20:48:59 +01:00

23 lines
544 B
Nix

{
description = "Sample project";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShell = pkgs.mkShell {
packages = with pkgs; [
llvmPackages_22.llvm-manpages
llvmPackages_22.bintools
rustc
cargo
];
};
}
);
}