We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf1547 commit bd68f8bCopy full SHA for bd68f8b
1 file changed
default.nix
@@ -16,7 +16,14 @@ pkgs.stdenv.mkDerivation rec {
16
src = with pkgs.lib.fileset;
17
toSource {
18
root = ./.;
19
- fileset = gitTrackedWith {} ./.;
+ # This should be `gitTracked ./.`. However, this currently doesn't accept
20
+ # shallow repositories as used in GitHub CI.
21
+ fileset =
22
+ (import (sources.nixpkgs + "/lib/fileset/internal.nix") {inherit (pkgs) lib;})._fromFetchGit
23
+ "gitTracked"
24
+ "argument"
25
+ ./.
26
+ {shallow = true;};
27
};
28
29
nativeBuildInputs = with pkgs; [
0 commit comments