kmod: add dev and lib outputs

Reduces the closure size of pkgsStatic.kmod from 51.0M to 541.6K.
This commit is contained in:
Alyssa Ross 2022-03-05 12:20:21 +00:00
parent f9ccded90d
commit dc1303185f

View file

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