mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Don't depend on git when generating source tarball
This commit is contained in:
parent
164487a5ba
commit
a7dd26961d
2 changed files with 5 additions and 2 deletions
|
@ -36,7 +36,9 @@ let
|
|||
|
||||
postUnpack = ''
|
||||
# Clean up when building from a working tree.
|
||||
git -C $sourceRoot clean -fd
|
||||
if [[ -d $sourceRoot/.git ]]; then
|
||||
git -C $sourceRoot clean -fd
|
||||
fi
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue