about summary refs log tree commit diff
path: root/pkgs/applications/audio/ardour
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-18 15:48:16 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:16:06 +0200
commit2892d2e6cf85b264d8e6719adb238f91a8242cf6 (patch)
treed1ff3e578bef0a6ac6cccabdc762f17bbefb5f1f /pkgs/applications/audio/ardour
parentffd81b6c940e8cc6bbc1e9784edb55ff917d66fd (diff)
downloadnixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar.gz
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar.bz2
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar.lz
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar.xz
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.tar.zst
nixlib-2892d2e6cf85b264d8e6719adb238f91a8242cf6.zip
ardour3: use python2
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r--pkgs/applications/audio/ardour/ardour3.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/audio/ardour/ardour3.nix b/pkgs/applications/audio/ardour/ardour3.nix
index ff2d4bbce4e2..13fea9a99afe 100644
--- a/pkgs/applications/audio/ardour/ardour3.nix
+++ b/pkgs/applications/audio/ardour/ardour3.nix
@@ -3,7 +3,7 @@
 , libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf
 , librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile
 , libusb, libuuid, libxml2, libxslt, lilv-svn, lv2, makeWrapper, pango
-, perl, pkgconfig, python, rubberband, serd, sord-svn, sratom, suil, taglib, vampSDK }:
+, perl, pkgconfig, python2, rubberband, serd, sord-svn, sratom, suil, taglib, vampSDK }:
 
 let
 
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
       glibmm graphviz gtkmm2 libjack2 libgnomecanvas libgnomecanvasmm liblo
       libmad libogg librdf librdf_raptor librdf_rasqal libsamplerate
       libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv-svn lv2
-      makeWrapper pango perl pkgconfig python rubberband serd sord-svn sratom suil taglib vampSDK
+      makeWrapper pango perl pkgconfig python2 rubberband serd sord-svn sratom suil taglib vampSDK
     ];
 
   patchPhase = ''
@@ -52,12 +52,12 @@ stdenv.mkDerivation rec {
     patchShebangs ./tools/
   '';
 
-  configurePhase = "python waf configure --optimize --docs --with-backends=jack,alsa --prefix=$out";
+  configurePhase = "${python2.interpreter} waf configure --optimize --docs --with-backends=jack,alsa --prefix=$out";
 
-  buildPhase = "python waf";
+  buildPhase = "${python2.interpreter} waf";
 
   installPhase = ''
-    python waf install
+    ${python2.interpreter} waf install
 
     # Install desktop file
     mkdir -p "$out/share/applications"