summary refs log tree commit diff
path: root/pkgs/os-specific/linux/nfs-utils
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-09-24 15:05:39 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-09-24 15:07:26 -0500
commit1427c50cea8685daf8eb571301651cf347b27e23 (patch)
tree10f243ce389687e7402b59be8b031b5d05626341 /pkgs/os-specific/linux/nfs-utils
parent2b7d6e463e0d278b4811c2a270814342fd1abf94 (diff)
downloadnixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar.gz
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar.bz2
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar.lz
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar.xz
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.tar.zst
nixpkgs-1427c50cea8685daf8eb571301651cf347b27e23.zip
nfs-utils: properly strip system-generators
nfs-utils had a dependency on gcc through
etc/systemd/system-generators/*-server-generator. It was not stripped
correctly because it’s not in an expected path. This adds it to the
strip list.
Diffstat (limited to 'pkgs/os-specific/linux/nfs-utils')
-rw-r--r--pkgs/os-specific/linux/nfs-utils/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/nfs-utils/default.nix b/pkgs/os-specific/linux/nfs-utils/default.nix
index f67663b3106..657f17c1684 100644
--- a/pkgs/os-specific/linux/nfs-utils/default.nix
+++ b/pkgs/os-specific/linux/nfs-utils/default.nix
@@ -83,6 +83,8 @@ in stdenv.mkDerivation rec {
     "statdpath=$(TMPDIR)"
   ];
 
+  stripDebugList = [ "lib" "libexec" "bin" "etc/systemd/system-generators" ];
+
   postInstall =
     ''
       # Not used on NixOS