about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 5a5a1226fe2c..dd5f1c4d37bc 100644
--- a/release.nix
+++ b/release.nix
@@ -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 = ''