for static talloc i don't need the ar command, as it is already in the
definition of nixpkgs
This commit is contained in:
@@ -5,6 +5,7 @@ final: prev: {
|
|||||||
talloc = prev.talloc.overrideAttrs (innerFinal: innerPrev: {
|
talloc = prev.talloc.overrideAttrs (innerFinal: innerPrev: {
|
||||||
wafConfigureFlags = innerPrev.wafConfigureFlags or [] ++ [ "--disable-python" ];
|
wafConfigureFlags = innerPrev.wafConfigureFlags or [] ++ [ "--disable-python" ];
|
||||||
patches = innerPrev.patches or [] ++ [ ./patches/talloc-satic.patch ];
|
patches = innerPrev.patches or [] ++ [ ./patches/talloc-satic.patch ];
|
||||||
|
/*
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
# talloc's Waf setup doesn't build static libraries, so we do it manually
|
# talloc's Waf setup doesn't build static libraries, so we do it manually
|
||||||
# from: https://git.alpinelinux.org/aports/tree/main/talloc/APKBUILD
|
# from: https://git.alpinelinux.org/aports/tree/main/talloc/APKBUILD
|
||||||
@@ -14,6 +15,7 @@ final: prev: {
|
|||||||
mkdir -p $out/lib/
|
mkdir -p $out/lib/
|
||||||
install -Dm644 libtalloc.a "$out"/lib/libtalloc.a
|
install -Dm644 libtalloc.a "$out"/lib/libtalloc.a
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
});
|
});
|
||||||
|
|
||||||
# for static builds
|
# for static builds
|
||||||
|
|||||||
Reference in New Issue
Block a user