Loading pkgs/build-support/fetchgithub/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ let fetchLFS = false; forceFetchGit = false; leaveDotGit = null; postCheckout = ""; rootDir = ""; sparseCheckout = null; }; Loading pkgs/build-support/fetchgithub/tests.nix +11 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,17 @@ hash = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY="; }; describe-tag = testers.invalidateFetcherByDrvHash fetchFromGitHub { name = "describe-tag-nix-source"; owner = "NixOS"; repo = "nix"; rev = "2.3.15"; hash = "sha256-y7l+46lVP2pzJwGON5qEV0EoxWofRoWAym5q9VXvpc8="; postCheckout = '' { git -C "$out" describe || echo "git describe failed"; } | tee "$out"/describe-output.txt ''; }; sparseCheckout = testers.invalidateFetcherByDrvHash fetchFromGitHub { name = "sparse-checkout-nix-source"; owner = "NixOS"; Loading Loading
pkgs/build-support/fetchgithub/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ let fetchLFS = false; forceFetchGit = false; leaveDotGit = null; postCheckout = ""; rootDir = ""; sparseCheckout = null; }; Loading
pkgs/build-support/fetchgithub/tests.nix +11 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,17 @@ hash = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY="; }; describe-tag = testers.invalidateFetcherByDrvHash fetchFromGitHub { name = "describe-tag-nix-source"; owner = "NixOS"; repo = "nix"; rev = "2.3.15"; hash = "sha256-y7l+46lVP2pzJwGON5qEV0EoxWofRoWAym5q9VXvpc8="; postCheckout = '' { git -C "$out" describe || echo "git describe failed"; } | tee "$out"/describe-output.txt ''; }; sparseCheckout = testers.invalidateFetcherByDrvHash fetchFromGitHub { name = "sparse-checkout-nix-source"; owner = "NixOS"; Loading