checkpointedBuilds: allow dotglob and remove debugging leftover

This commit is contained in:
Martin Messer 2022-12-20 10:29:27 +01:00
parent fc2e3fac61
commit c85d18ff91

View File

@ -44,9 +44,8 @@ rec {
set +e
diff -ur ${previousBuildArtifacts}/sources ./ > sourceDifference.patch
set -e
shopt -s extglob
shopt -s extglob dotglob
rm -r !("sourceDifference.patch")
ls -al .
${pkgs.rsync}/bin/rsync -cutU --chown=$USER:$USER --chmod=+w -r ${previousBuildArtifacts}/outputs/* .
patch -p 1 -i sourceDifference.patch
'';