templates: basicShell inherits packages and not buildInputs. Default package is hello

This commit is contained in:
Giulio De Pasquale 2023-02-18 20:30:40 +01:00
parent aa6dd43783
commit 9827b88f34

View File

@ -11,14 +11,13 @@
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
lib = pkgs.lib;
shellWithPkgs = buildInputs: pkgs.mkShell { shellWithPkgs = packages: pkgs.mkShell {
inherit buildInputs; inherit packages;
}; };
in in
{ {
devShells.default = shellWithPkgs (lib.singleton pkgs.codeql); devShells.default = shellWithPkgs [ pkgs.hello ];
}); });
} }