mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge pull request #46542 from obsidiansystems/dhcpcd-cleanup
dhcpcd: No need to hack around broken patchShebangs anymore
This commit is contained in:
commit
cb8fb7e71b
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ udev ];
|
||||
buildInputs = [
|
||||
udev
|
||||
runtimeShellPackage # So patchShebangs finds a bash suitable for the installed scripts
|
||||
];
|
||||
|
||||
preConfigure = "patchShebangs ./configure";
|
||||
|
||||
@ -29,11 +32,6 @@ stdenv.mkDerivation rec {
|
||||
# Check that the udev plugin got built.
|
||||
postInstall = stdenv.lib.optional (udev != null) "[ -e $out/lib/dhcpcd/dev/udev.so ]";
|
||||
|
||||
# TODO shlevy remove once patchShebangs is fixed
|
||||
postFixup = ''
|
||||
find $out -type f -print0 | xargs --null sed -i 's|${stdenv.shellPackage}|${runtimeShellPackage}|'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
|
||||
homepage = https://roy.marples.name/projects/dhcpcd;
|
||||
|
Loading…
Reference in New Issue
Block a user