Skip to content

Commit

Permalink
x42-plugins: Hack to attempt fixing the perpetual build problem
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dezgeg committed Oct 22, 2017
1 parent 4ace0da commit 4068703
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/applications/audio/x42-plugins/default.nix
Expand Up @@ -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" ];

Expand Down

0 comments on commit 4068703

Please sign in to comment.