summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-04-24 17:01:29 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-04-24 17:03:48 +0200
commit46ce1047b6cf2cf76eb9ce7e95aac70361f36d80 (patch)
treef042da580f13957e1d6d8160b6138af1ec3105e2
parentd57e6466e00c3294d321e8a203a2262f5d65808a (diff)
downloadnixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar.gz
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar.bz2
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar.lz
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar.xz
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.tar.zst
nixlib-46ce1047b6cf2cf76eb9ce7e95aac70361f36d80.zip
knot-dns: remove .out/lib/*.la
They're really useless here AFAIK. _Currently_ this doesn't
reduce the (transitive) closure at all, but perhaps in future...
-rw-r--r--pkgs/servers/dns/knot-dns/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix
index de37aeaa590b..88fa07009f83 100644
--- a/pkgs/servers/dns/knot-dns/default.nix
+++ b/pkgs/servers/dns/knot-dns/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
 
   #doCheck = true; problems in combination with dynamic linking
 
-  postInstall = ''rm -r "$out"/var'';
+  postInstall = ''rm -r "$out"/var "$out"/lib/*.la'';
 
   meta = with stdenv.lib; {
     description = "Authoritative-only DNS server from .cz domain registry";