templates: basicShell inherits packages and not buildInputs. Default package is hello
This commit is contained in:
parent
aa6dd43783
commit
9827b88f34
@ -11,14 +11,13 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = pkgs.lib;
|
||||
|
||||
shellWithPkgs = buildInputs: pkgs.mkShell {
|
||||
inherit buildInputs;
|
||||
shellWithPkgs = packages: pkgs.mkShell {
|
||||
inherit packages;
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.default = shellWithPkgs (lib.singleton pkgs.codeql);
|
||||
devShells.default = shellWithPkgs [ pkgs.hello ];
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user