diff options
author | Pierre Bourdon <delroth@gmail.com> | 2022-09-21 02:53:28 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2022-09-21 03:38:05 +0200 |
commit | a5f42f7eaa09ed3874b4bfedc06b7593adc9cc28 (patch) | |
tree | 43ece357834a2eaa0689ea7a8cbe10f526b734d8 /pkgs/development/libraries/libmikmod | |
parent | 94320898c52db0f7ded36011b6d7d6ff15651b84 (diff) |
libmikmod: split out/dev/man outputs
This prevents propagating many dev dependencies into non-dev dependents.
Diffstat (limited to 'pkgs/development/libraries/libmikmod')
-rw-r--r-- | pkgs/development/libraries/libmikmod/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmikmod/default.nix b/pkgs/development/libraries/libmikmod/default.nix index c7a00e7372dd3..29f64116b7a81 100644 --- a/pkgs/development/libraries/libmikmod/default.nix +++ b/pkgs/development/libraries/libmikmod/default.nix @@ -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/"; |