Skip to content

Commit

Permalink
nixos make-disk-image: fix permissions of /build
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lassulus authored and vcunat committed Jul 10, 2020
1 parent cfd3aac commit 8d05772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/lib/make-disk-image.nix
Expand Up @@ -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 ""
Expand Down

0 comments on commit 8d05772

Please sign in to comment.