diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-11-17 20:05:51 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-11-17 20:05:51 +0100 |
commit | 335798d243cc550a6b32a411c63a55f361f9e32f (patch) | |
tree | 8e407816a51ef8bd22875d4b61e59d67b2991163 /pkgs/servers/dns | |
parent | cd5c7c0ee6ccfa1c1b3b9b0831604bc180cee4b7 (diff) |
knot-resolver: fix a stupid system breaking non-systemd
I hope this will fix darwin build (no good way of testing locally).
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-resolver/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index cdbdbdc56eba..f88772bda0bc 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -74,6 +74,7 @@ unwrapped = stdenv.mkDerivation rec { postInstall = '' rm "$out"/lib/libkres.a rm "$out"/lib/knot-resolver/upgrade-4-to-5.lua # not meaningful on NixOS + '' + optionalString stdenv.targetPlatform.isLinux '' rm -r "$out"/lib/sysusers.d/ # ATM more likely to harm than help ''; |