summary refs log tree commit diff
path: root/pkgs/top-level/static.nix
diff options
context:
space:
mode:
authorJoe Hermaszewski <git@monoid.al>2020-11-10 15:54:52 +0800
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-12-08 05:21:05 +0100
commit4fe23ed6cae572b295d0595ad4a4b39021a1468a (patch)
tree087da95f5678921eb92917905700543e2df310d8 /pkgs/top-level/static.nix
parent88fcd687d0defd1aee87733780667a7de6c3c3e3 (diff)
downloadnixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar.gz
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar.bz2
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar.lz
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar.xz
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.tar.zst
nixpkgs-4fe23ed6cae572b295d0595ad4a4b39021a1468a.zip
libcap: fix static build
This makes the build correct when cap==null

It also patches the Makefiles so that shared libraries aren't built during the install phase
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r--pkgs/top-level/static.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix
index b3851ba20f0..7fb5aef5f1c 100644
--- a/pkgs/top-level/static.nix
+++ b/pkgs/top-level/static.nix
@@ -314,4 +314,6 @@ in {
       configureFlags = attrs.configureFlags ++ [ "--disable-shared" ];
     });
   });
+
+  libcap = super.libcap.override { pam = null; };
 }