kmod: make pkgsStatic.kmod build

This commit is contained in:
Alexander Bantyev 2019-11-20 17:56:47 +03:00
parent 78ec0e60c2
commit 9c9a0e9cab
No known key found for this signature in database
GPG Key ID: E081FF12ADCB4AD5

View File

@ -51,7 +51,7 @@ self: super: let
enableStaticLibraries = true; enableStaticLibraries = true;
}); });
}; };
in { in {
stdenv = foldl (flip id) super.stdenv staticAdapters; stdenv = foldl (flip id) super.stdenv staticAdapters;
gcc49Stdenv = foldl (flip id) super.gcc49Stdenv staticAdapters; gcc49Stdenv = foldl (flip id) super.gcc49Stdenv staticAdapters;
@ -172,6 +172,10 @@ in {
}; };
}; };
kmod = super.kmod.override {
withStatic = true;
};
curl = super.curl.override { curl = super.curl.override {
# a very sad story: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439039 # a very sad story: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439039
gssSupport = false; gssSupport = false;
@ -195,6 +199,6 @@ in {
}; };
}; };
}; };
python27 = super.python27.override { static = true; }; python27 = super.python27.override { static = true; };
} }