forked from mirrors/nixpkgs
libmikmod: split out/dev/man outputs
This prevents propagating many dev dependencies into non-dev dependents.
This commit is contained in:
parent
94320898c5
commit
a5f42f7eaa
|
@ -18,8 +18,14 @@ in stdenv.mkDerivation rec {
|
|||
propagatedBuildInputs =
|
||||
optional stdenv.isLinux libpulseaudio;
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
NIX_LDFLAGS = optionalString stdenv.isLinux "-lasound";
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput bin/libmikmod-config "$dev"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for playing tracker music module files";
|
||||
homepage = "https://mikmod.shlomifish.org/";
|
||||
|
|
Loading…
Reference in a new issue