mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 08:42:30 +00:00
Simplify source tarball postUnpack cleanupx
This commit is contained in:
parent
133a421bb4
commit
164487a5ba
@ -36,7 +36,7 @@ let
|
||||
|
||||
postUnpack = ''
|
||||
# Clean up when building from a working tree.
|
||||
(cd $sourceRoot && (git ls-files -o | xargs -r rm -v))
|
||||
git -C $sourceRoot clean -fd
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user