x42-plugins: Hack to attempt fixing the perpetual build problem

Since basically forever, it randomly fails with
   do not know how to unpack source archive /nix/store/d821jkm8bgkdcv924nk7qr1q06l9is35-x42-plugins-20170428.tar.xz
on Hydra.

https://hydra.nixos.org/build/62793688
This commit is contained in:
Tuomas Tynkkynen 2017-10-23 00:30:10 +03:00
parent 4ace0daa21
commit 4068703502

View File

@ -12,7 +12,15 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mesa_glu ftgl freefont_ttf libjack2 libltc libsndfile libsamplerate lv2 gtk2 cairo pango fftwFloat zita-convolver];
buildInputs = [ mesa_glu ftgl freefont_ttf libjack2 libltc libsndfile libsamplerate lv2 gtk2 cairo pango fftwFloat zita-convolver ];
# Don't remove this. The default fails with 'do not know how to unpack source archive'
# every now and then on Hydra. No idea why.
unpackPhase = ''
tar xf $src
sourceRoot=$(echo x42-plugins-*)
chmod -R u+w $sourceRoot
'';
makeFlags = [ "PREFIX=$(out)" "FONTFILE=${freefont_ttf}/share/fonts/truetype/FreeSansBold.ttf" ];