Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
nixos/initrd-network: use ipconfig from klibc
Browse files Browse the repository at this point in the history
This apparently has features that the version from Arch's
mkinitcpio-nfs-utils does not have. Fixes #75314.
  • Loading branch information
fpletz committed Feb 8, 2020
1 parent 4ba8086 commit d25c1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/initrd-network.nix
Expand Up @@ -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 (
Expand Down

0 comments on commit d25c1a8

Please sign in to comment.