e2fsprogs: allow static build

This commit is contained in:
Marco A L Barbosa
2019-12-05 11:55:24 -03:00
parent 62d0993e87
commit f6ea33023e
2 changed files with 11 additions and 4 deletions
+7 -2
View File
@@ -82,14 +82,15 @@ in {
} // optionalAttrs super.stdenv.hostPlatform.isDarwin {
pythonSupport = false;
});
zlib = (super.zlib.override {
zlib = super.zlib.override {
static = true;
shared = false;
splitStaticOutput = false;
# Dont use new stdenv zlib because
# it doesnt like the --disable-shared flag
stdenv = super.stdenv;
}).static;
};
xz = super.xz.override {
enableStatic = true;
};
@@ -177,6 +178,10 @@ in {
gssSupport = false;
};
e2fsprogs = super.e2fsprogs.override {
shared = false;
};
brotli = super.brotli.override {
staticOnly = true;
};