diff options
author | lassulus <lassulus@lassul.us> | 2020-07-09 20:38:39 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-07-10 10:31:26 +0200 |
commit | 8d05772134f17180fb2711d0660702dae2a67313 (patch) | |
tree | 858fa935142929f60cc780223dfa3cc97ef9e8a7 | |
parent | cfd3aac3fe2406b9c77186b9a4363aeb211410e1 (diff) |
nixos make-disk-image: fix permissions of /build
This was broken in 460c0d6 (PR #90431); now the nixos-unstable channel
should get unblocked.
vcunat modified this commit to use env-var instead of hardcoding /build
-rw-r--r-- | nixos/lib/make-disk-image.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/lib/make-disk-image.nix b/nixos/lib/make-disk-image.nix index 9364aab32770..a72bdedb16fc 100644 --- a/nixos/lib/make-disk-image.nix +++ b/nixos/lib/make-disk-image.nix @@ -181,6 +181,7 @@ let format' = format; in let export NIX_STATE_DIR=$TMPDIR/state nix-store --load-db < ${closureInfo}/registration + chmod 755 "$TMPDIR" echo "running nixos-install..." nixos-install --root $root --no-bootloader --no-root-passwd \ --system ${config.system.build.toplevel} --channel ${channelSources} --substituters "" |