knot-resolver: fix a stupid system breaking non-systemd

I hope this will fix darwin build (no good way of testing locally).
wip/yesman
Vladimír Čunát 4 years ago
parent cd5c7c0ee6
commit 335798d243
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 1
      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
'';

Loading…
Cancel
Save