From d25c1a8fdc383b8997f6e7b4e1479875df1f06b2 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 8 Feb 2020 14:29:04 +0100 Subject: [PATCH] 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. --- nixos/modules/system/boot/initrd-network.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (