diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-10-09 11:46:32 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-10-09 11:46:42 +0800 |
commit | 4817454366dac6894106d81f832bcd6c24de1d98 (patch) | |
tree | e2623bbbe9a4eb6342164aa4e4d206a61612d8df /pkgs/os-specific/linux/wireguard | |
parent | fc5b50dc964789172d8e59b7eb29f05ad13d67b6 (diff) | |
download | nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar.gz nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar.bz2 nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar.lz nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar.xz nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.tar.zst nixpkgs-4817454366dac6894106d81f832bcd6c24de1d98.zip |
wireguard: wg-quick systemd unit was referencing /usr/bin
Diffstat (limited to 'pkgs/os-specific/linux/wireguard')
-rw-r--r-- | pkgs/os-specific/linux/wireguard/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/wireguard/default.nix b/pkgs/os-specific/linux/wireguard/default.nix index 5391a699b92..c8500d89d04 100644 --- a/pkgs/os-specific/linux/wireguard/default.nix +++ b/pkgs/os-specific/linux/wireguard/default.nix @@ -47,6 +47,8 @@ let buildInputs = [ libmnl ]; + enableParallelBuilding = true; + makeFlags = [ "WITH_BASHCOMPLETION=yes" "WITH_WGQUICK=yes" @@ -57,6 +59,11 @@ let ]; buildPhase = "make tools"; + + postInstall = '' + substituteInPlace $out/lib/systemd/system/wg-quick@.service \ + --replace /usr/bin $out/bin + ''; }; in if kernel == null |