mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
audacity: fixup build also with default gcc
and enableParallelBuilding.
This commit is contained in:
parent
a558519a55
commit
d2a571aacd
@ -20,12 +20,13 @@ stdenv.mkDerivation rec {
|
||||
+ "/audacity-ffmpeg.patch?h=packages/audacity&id=0c1e35798d4d70692";
|
||||
sha256 = "19fr674mw844zmkp1476yigkcnmb6zyn78av64ccdwi3p68i00rf";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "gcc6.patch";
|
||||
url = "https://github.com/audacity/audacity/commit/60f2322055756e8cacfe96530a12c63e9694482c.patch";
|
||||
sha256 = "07jlxr8y7ap3nsblx3zh8v9rcx7ajbcfnvwzhwykmbwbsyirgqf2";
|
||||
})
|
||||
];
|
||||
]
|
||||
++ optional (hasPrefix "gcc-6" stdenv.cc.cc.name)
|
||||
(fetchpatch {
|
||||
name = "gcc6.patch";
|
||||
url = "https://github.com/audacity/audacity/commit/60f2322055756e8cacfe96530a12c63e9694482c.patch";
|
||||
sha256 = "07jlxr8y7ap3nsblx3zh8v9rcx7ajbcfnvwzhwykmbwbsyirgqf2";
|
||||
});
|
||||
|
||||
preConfigure = /* we prefer system-wide libs */ ''
|
||||
mv lib-src lib-src-rm
|
||||
@ -64,6 +65,8 @@ stdenv.mkDerivation rec {
|
||||
ffmpeg libmad lame libvorbis flac soundtouch
|
||||
]; #ToDo: detach sbsms
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontDisableStatic = true;
|
||||
doCheck = false; # Test fails
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user