libopenmpt: doCheck only if canExecute
And optional -> optionals style for libpulseaudio
This commit is contained in:
parent
2ce64f86a2
commit
3e2f831360
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";
|
configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
moveToOutput share/doc $dev
|
moveToOutput share/doc $dev
|
||||||
|
|
Loading…
Reference in a new issue