Skip to content

Commit

Permalink
use shallow clones to download github
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 21, 2024
1 parent 4ad6768 commit 574174e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ in
let
nixpkgs' =
if nixpkgs == null then
fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/${pinnedNixpkgs.rev}.tar.gz";
sha256 = pinnedNixpkgs.sha256;
builtins.fetchGit {
url = "https://github.com/NixOS/nixpkgs";
rev = pinnedNixpkgs.rev;
shallow = true;
}
else
nixpkgs;
Expand Down

0 comments on commit 574174e

Please sign in to comment.