Skip to content

Commit

Permalink
nixos/nixos-enter: add full path for systemd-tmpfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikilio committed Nov 24, 2022
1 parent 04da8dc commit b6c3671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/installer/tools/nixos-enter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ chroot_add_resolv_conf "$mountPoint" || echo "$0: failed to set up resolv.conf"
LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" IN_NIXOS_ENTER=1 chroot "$mountPoint" "$system/activate" 1>&2 || true

# Create /tmp
chroot "$mountPoint" systemd-tmpfiles --create --remove --exclude-prefix=/dev 1>&2 || true
chroot "$mountPoint" "$system/sw/bin/systemd-tmpfiles" --create --remove --exclude-prefix=/dev 1>&2 || true
)

unset TMPDIR
Expand Down

0 comments on commit b6c3671

Please sign in to comment.