summary refs log tree commit diff
path: root/pkgs/development/libraries/talloc
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-08-19 21:37:55 +0000
committerDan Peebles <pumpkin@me.com>2016-08-19 21:41:21 +0000
commit7bf6e249ebc293c079f94d9fa9913cc462586718 (patch)
tree004a6bb76093093787bde78427391a7681f92ec4 /pkgs/development/libraries/talloc
parent64ba7b53f189e0cb268fe42eb8496bfb765aac2e (diff)
downloadnixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar.gz
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar.bz2
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar.lz
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar.xz
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.tar.zst
nixpkgs-7bf6e249ebc293c079f94d9fa9913cc462586718.zip
talloc: re-add old static output
It was originally added by https://github.com/NixOS/nixpkgs/pull/5142 but removed in
https://github.com/NixOS/nixpkgs/commit/863ef410252ebbc5a146d55993686c5a2377472e.y
Diffstat (limited to 'pkgs/development/libraries/talloc')
-rw-r--r--pkgs/development/libraries/talloc/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/talloc/default.nix b/pkgs/development/libraries/talloc/default.nix
index 2c7cbe04019..3c40ae247f6 100644
--- a/pkgs/development/libraries/talloc/default.nix
+++ b/pkgs/development/libraries/talloc/default.nix
@@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
     "--builtin-libraries=replace"
   ];
 
+  postInstall = ''		
+    ar qf $out/lib/libtalloc.a bin/default/talloc_[0-9]*.o		
+  '';
+
   meta = with stdenv.lib; {
     description = "Hierarchical pool based memory allocator with destructors";
     homepage = http://tdb.samba.org/;