1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

libav: fix with multiple outputs and improve splitting

This commit is contained in:
Vladimír Čunát 2015-10-04 11:29:37 +02:00
parent 0cf11036b4
commit d0f72e729a

View file

@ -77,13 +77,11 @@ let
enableParallelBuilding = true;
outputs = [ "dev" "out" "bin" ]; #TODO: re-check
outputs = [ "dev" "out" "bin" ];
setOutputFlags = false;
# move avplay to get rid of the SDL dependency in the main output
postInstall = ''
mkdir -p "$bin/bin"
mv "$out/bin/avplay" "$bin/bin"
'';
# move tools away to lighten runtime deps and size
postInstall = ''_moveToOutput bin "$bin" '';
doInstallCheck = false; # fails randomly
installCheckTarget = "check"; # tests need to be run *after* installation