Compare commits

..

2 commits

View file

@ -15,7 +15,7 @@ begin
and mkdir -p "$nixPkgsCache"
and git -C "$nixPkgsCache" init
and git -C "$nixPkgsCache" remote add origin https://github.com/NixOS/nixpkgs.git
and git -C "$nixPkgsCache" fetch origin "$nixPkgsVersion"
and git -C "$nixPkgsCache" fetch --depth=1 origin "$nixPkgsVersion"
and git -C "$nixPkgsCache" reset --hard FETCH_HEAD
and rm -rf "$nixPkgsCache/.git"
end