We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879a4bd commit c57d8deCopy full SHA for c57d8de
default.nix
@@ -1,7 +1,12 @@
1
with import <nixpkgs> {};
2
stdenv.mkDerivation {
3
name = "nixos-shell";
4
- src = ./.;
+ src = builtins.filterSource
5
+ (path: type: baseNameOf path != "nixos.qcow2" &&
6
+ baseNameOf path != ".git" &&
7
+ baseNameOf path != ".direnv" &&
8
+ baseNameOf path != "result"
9
+ ) ./.;
10
buildInputs = [ bash ];
11
preConfigure = ''
12
export PREFIX=$out
0 commit comments