From 471e2931e83a2102d6392c36b2d48ff6ada2a83b Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sun, 26 Oct 2025 14:24:10 +0530 Subject: [PATCH] nixos/stage-1: fix nix parsing error ``` error: A definition for option `boot.initrd.systemd.extraBin.mount' is not of type `absolute path'. Definition values: - In `/nix/store/h259dzilgbvpfsnlcyims14jrcdnx8fk-source/nixos/modules/tasks/filesystems/zfs.nix': { zfs = "/nix/store/hxg3s5l92y9n9m48p872i62dn5ck33hx-zfs-user-2.4.0-rc3/sbin/mount.zfs"; } ``` Fixes https://github.com/NixOS/nixpkgs/pull/414391#issuecomment-3448084329 --- nixos/modules/tasks/filesystems/zfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 7b39d58248c4..a65e0c00feba 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -798,7 +798,7 @@ in extraBin = { zpool = "${cfgZfs.package}/sbin/zpool"; zfs = "${cfgZfs.package}/sbin/zfs"; - mount.zfs = "${cfgZfs.package}/sbin/mount.zfs"; + "mount.zfs" = "${cfgZfs.package}/sbin/mount.zfs"; awk = "${pkgs.gawk}/bin/awk"; }; storePaths = [