diff --git a/release.nix b/release.nix index 5a5a1226f..dd5f1c4d3 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 = ''