Compare commits
2 commits
746fb278d0
...
12b85b3147
Author | SHA1 | Date | |
---|---|---|---|
12b85b3147 | |||
ea5f3eaca5 |
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ begin
|
||||||
and mkdir -p "$nixPkgsCache"
|
and mkdir -p "$nixPkgsCache"
|
||||||
and git -C "$nixPkgsCache" init
|
and git -C "$nixPkgsCache" init
|
||||||
and git -C "$nixPkgsCache" remote add origin https://github.com/NixOS/nixpkgs.git
|
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 git -C "$nixPkgsCache" reset --hard FETCH_HEAD
|
||||||
and rm -rf "$nixPkgsCache/.git"
|
and rm -rf "$nixPkgsCache/.git"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue