diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..7581784 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + }; + + outputs = { self, nixpkgs, flake-utils, ... }: + let + shell = { pkgs, ... }: + pkgs.mkShell { + buildInputs = with pkgs; [ + cmake + gnumake + pkgs.qt6.full + clang-tools + ]; + }; + in flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in { + devShells.default = shell { inherit pkgs system; }; + }); +} |
