summary refs log tree commit diff
path: root/pkgs/applications/audio/x42-plugins
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-10-23 00:30:10 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-10-23 00:33:19 +0300
commit4068703502cb2948d09bc419d19e25b1e18502e2 (patch)
tree568c0fbd92322fc077fbbcd21b3825291c9bae9b /pkgs/applications/audio/x42-plugins
parent4ace0daa21c69b80ff896b497c55ba0db06eace8 (diff)
downloadnixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar.gz
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar.bz2
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar.lz
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar.xz
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.tar.zst
nixpkgs-4068703502cb2948d09bc419d19e25b1e18502e2.zip
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
Diffstat (limited to 'pkgs/applications/audio/x42-plugins')
-rw-r--r--pkgs/applications/audio/x42-plugins/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/audio/x42-plugins/default.nix b/pkgs/applications/audio/x42-plugins/default.nix
index 2b509d8db60..0c151697e89 100644
--- a/pkgs/applications/audio/x42-plugins/default.nix
+++ b/pkgs/applications/audio/x42-plugins/default.nix
@@ -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" ];