knot-resolver: fix a stupid system breaking non-systemd
I hope this will fix darwin build (no good way of testing locally).
This commit is contained in:
parent
cd5c7c0ee6
commit
335798d243
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue