1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

dirac: fix build with gcc6

This commit is contained in:
Robin Gloster 2017-01-21 14:42:59 +01:00
parent d3cd8b1d58
commit 8cae089f19
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
patches = [ ./dirac-1.0.2.patch ]; patches = [ ./dirac-1.0.2.patch ];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
postInstall = '' postInstall = ''
# keep only necessary binaries # keep only necessary binaries
find $out/bin \( -name '*RGB*' -or -name '*YUV*' -or -name create_dirac_testfile.pl \) -delete find $out/bin \( -name '*RGB*' -or -name '*YUV*' -or -name create_dirac_testfile.pl \) -delete