summary refs log tree commit diff
path: root/nixos/modules/system/boot/initrd-network.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2020-02-08 14:29:04 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2020-02-08 14:57:49 +0100
commitd25c1a8fdc383b8997f6e7b4e1479875df1f06b2 (patch)
treefa3e525fbc6f78f23f5c740f6ad9094599ba37c2 /nixos/modules/system/boot/initrd-network.nix
parent4ba8086aa17e014bec3843e16c0c7eddee9bdf40 (diff)
downloadnixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar.gz
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar.bz2
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar.lz
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar.xz
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.tar.zst
nixpkgs-d25c1a8fdc383b8997f6e7b4e1479875df1f06b2.zip
nixos/initrd-network: use ipconfig from klibc
This apparently has features that the version from Arch's
mkinitcpio-nfs-utils does not have. Fixes #75314.
Diffstat (limited to 'nixos/modules/system/boot/initrd-network.nix')
-rw-r--r--nixos/modules/system/boot/initrd-network.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/initrd-network.nix b/nixos/modules/system/boot/initrd-network.nix
index cdffdf29f2d..d36850c2a16 100644
--- a/nixos/modules/system/boot/initrd-network.nix
+++ b/nixos/modules/system/boot/initrd-network.nix
@@ -103,7 +103,7 @@ in
     boot.initrd.kernelModules = [ "af_packet" ];
 
     boot.initrd.extraUtilsCommands = ''
-      copy_bin_and_libs ${pkgs.mkinitcpio-nfs-utils}/bin/ipconfig
+      copy_bin_and_libs ${pkgs.klibc}/lib/klibc/bin.static/ipconfig
     '';
 
     boot.initrd.preLVMCommands = mkBefore (