From a6fa514607a740a635f4d9a90dccb3ee52cc9ccb Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Thu, 11 Apr 2024 15:54:35 +0200 Subject: [PATCH] for static talloc i don't need the ar command, as it is already in the definition of nixpkgs --- overlays/static-overlay.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/overlays/static-overlay.nix b/overlays/static-overlay.nix index 2c1eb12..dc1c3a9 100644 --- a/overlays/static-overlay.nix +++ b/overlays/static-overlay.nix @@ -5,6 +5,7 @@ final: prev: { talloc = prev.talloc.overrideAttrs (innerFinal: innerPrev: { wafConfigureFlags = innerPrev.wafConfigureFlags or [] ++ [ "--disable-python" ]; patches = innerPrev.patches or [] ++ [ ./patches/talloc-satic.patch ]; + /* postBuild = '' # talloc's Waf setup doesn't build static libraries, so we do it manually # from: https://git.alpinelinux.org/aports/tree/main/talloc/APKBUILD @@ -14,6 +15,7 @@ final: prev: { mkdir -p $out/lib/ install -Dm644 libtalloc.a "$out"/lib/libtalloc.a ''; + */ }); # for static builds