summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems/zfs.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-02-03 11:40:51 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-02-03 11:43:00 +0100
commit0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08 (patch)
treea6f2d5147bc5a6132d670b4b7a111862a5566f37 /nixos/modules/tasks/filesystems/zfs.nix
parente7288c3f8d90d91f77285ad1f03ea58d6e92a083 (diff)
downloadnixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar.gz
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar.bz2
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar.lz
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar.xz
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.tar.zst
nixpkgs-0e784a2a3b027dd87ecf432fca9b0fdc9bed5d08.zip
nixos/zfs: fix reference to awk
broken in 648a6c4348f19c5c50bbff20ed683f783194574b
Diffstat (limited to 'nixos/modules/tasks/filesystems/zfs.nix')
-rw-r--r--nixos/modules/tasks/filesystems/zfs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index df867aa896f..d69a161b896 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -513,7 +513,7 @@ in
             script = (importLib {
               # See comments at importLib definition.
               zpoolCmd = "${cfgZfs.package}/sbin/zpool";
-              zfsCmd = "${cfgZfs.package}/sbin/zfs";
+              awkCmd = "${pkgs.gawk}/bin/awk";
               inherit cfgZfs;
             }) + ''
               poolImported "${pool}" && exit