Skip to content

Commit

Permalink
libopenmpt: doCheck only if canExecute
Browse files Browse the repository at this point in the history
And optional -> optionals style for libpulseaudio
  • Loading branch information
OPNA2608 committed May 20, 2023
1 parent 2ce64f8 commit 3e2f831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/audio/libopenmpt/default.nix
Expand Up @@ -43,7 +43,7 @@ stdenv.mkDerivation rec {

configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";

doCheck = true;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;

postFixup = ''
moveToOutput share/doc $dev
Expand Down

0 comments on commit 3e2f831

Please sign in to comment.