kmod: add dev and lib outputs
Reduces the closure size of pkgsStatic.kmod from 51.0M to 541.6K.
This commit is contained in:
parent
f9ccded90d
commit
dc1303185f
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ in stdenv.mkDerivation rec {
|
|||
sha256 = "0am54mi5rk72g5q7k6l6f36gw3r9vwgjmyna43ywcjhqmakyx00b";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "lib" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config libxslt ];
|
||||
buildInputs = [ xz zstd ] ++ lib.optional stdenv.isDarwin elf-header;
|
||||
|
||||
|
|
Loading…
Reference in a new issue