about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-01-01 11:15:03 +0100
committerGitHub <noreply@github.com>2023-01-01 11:15:03 +0100
commit6a166a5ab115c1d6ead169878cdc3a2d88e9653d (patch)
tree6d088324b2b619b3bc8f1cc7a95508e3ebb3d642 /nixos/modules
parent7e159b1a6745f4d00f77aed23f007e134b0e9fb8 (diff)
parentb6c367162cd3ad16ee1347e02466ad2faa90602e (diff)
Merge pull request #199425 from Mikilio/master
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/installer/tools/nixos-enter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-enter.sh b/nixos/modules/installer/tools/nixos-enter.sh
index 89beeee7cf9e5..30113ee00508b 100644
--- a/nixos/modules/installer/tools/nixos-enter.sh
+++ b/nixos/modules/installer/tools/nixos-enter.sh
@@ -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