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
(cherry picked from commit 4068703)
  • Loading branch information
dezgeg committed Oct 22, 2017
1 parent 47d0cf7 commit 7a6c7ab
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/applications/audio/x42-plugins/default.nix
Expand Up @@ -11,7 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "0yi82rak2277x4nzzr5zwbsnha5pi61w975c8src2iwar2b6m0xg";
};

buildInputs = [ mesa_glu ftgl freefont_ttf libjack2 libltc libsndfile libsamplerate lv2 gtk2 cairo pango fftwFloat pkgconfig zita-convolver];
nativeBuildInputs = [ pkgconfig ];
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 7a6c7ab

Please sign in to comment.