This commit is contained in:
twoneis 2024-08-11 17:54:20 +02:00
parent 059a4d2dba
commit df3bce833e

22
c/flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachSystem [
"x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin"
] (system: let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
# keep the next to in this order
clang-tools
clang
];
};
});
}