From 7bf6e249ebc293c079f94d9fa9913cc462586718 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Fri, 19 Aug 2016 21:37:55 +0000 Subject: [PATCH] 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 --- pkgs/development/libraries/talloc/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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/;