summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-09-17 06:30:49 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-09-17 21:11:29 +0200
commitfd6901755debe65abf8102a61dbfb44dd09fa1dc (patch)
treeda91d9a2a98a4055d1c3763083c86709670c7db5 /nixos/modules/system/boot/stage-1.nix
parent6e4a1f742666aa5b11093672ad5756fd6b804d40 (diff)
downloadnixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar.gz
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar.bz2
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar.lz
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar.xz
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.tar.zst
nixpkgs-fd6901755debe65abf8102a61dbfb44dd09fa1dc.zip
stage1: use correct zfs package
This in particular broke zfsUnstable because it added symbols not present in zfsStable
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 7aaa3f85bfe..a3551f68dbe 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -123,7 +123,7 @@ let
         # ZFS properties such as `setuid=off` and `exec=off` (unless manually
         # duplicated in `fileSystems.*.options`, defeating "zfsutil"'s purpose).
         copy_bin_and_libs ${lib.getOutput "mount" pkgs.util-linux}/bin/mount
-        copy_bin_and_libs ${pkgs.zfs}/bin/mount.zfs
+        copy_bin_and_libs ${config.boot.zfs.package}/bin/mount.zfs
       ''}
 
       # Copy some util-linux stuff.