forked from mirrors/nixpkgs
Merge pull request #130941 from michaeladler/fix/vpnc-scripts
This commit is contained in:
commit
84c7443562
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchgit
|
||||
, makeWrapper
|
||||
, nettools, gawk, systemd, openresolv, coreutils, gnugrep
|
||||
, nettools, gawk, systemd, openresolv, coreutils, gnugrep, iproute2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation {
|
|||
--replace "/usr/bin/resolvectl" "${systemd}/bin/resolvectl"
|
||||
'' + ''
|
||||
wrapProgram $out/bin/vpnc-script \
|
||||
--prefix PATH : "${lib.makeBinPath ([ nettools gawk coreutils gnugrep ] ++ lib.optionals stdenv.isLinux [ openresolv ])}"
|
||||
--prefix PATH : "${lib.makeBinPath ([ nettools gawk coreutils gnugrep ] ++ lib.optionals stdenv.isLinux [ openresolv iproute2 ])}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue