for static talloc i don't need the ar command, as it is already in the

definition of nixpkgs
This commit is contained in:
Sebastian Moser
2024-04-11 15:54:35 +02:00
parent bd199de25f
commit a6fa514607

View File

@@ -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