diff options
Diffstat (limited to 'src/infrastructure/scripts/reconfigure.sh')
-rwxr-xr-x | src/infrastructure/scripts/reconfigure.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh index ce2d3e8..7a3b84e 100755 --- a/src/infrastructure/scripts/reconfigure.sh +++ b/src/infrastructure/scripts/reconfigure.sh @@ -127,8 +127,11 @@ else # The same is true for the reconfigure script itself. sudo cp description "$REPO"/description sudo cp src/infrastructure/ci/git-pre-receive.sh "$REPO"/hooks/pre-receive - sudo cp src/infrastructure/guix/channels.scm /etc/guix/ - sudo cp src/infrastructure/guix/system.scm /etc/guix/ + sudo rm -f /etc/guix/channels.scm /etc/guix/system.scm + sudo cp \ + src/infrastructure/guix/channels.scm \ + src/infrastructure/guix/system.scm \ + /etc/guix/ sudo -i guix system -c$NPROC -v3 reconfigure /etc/guix/system.scm |