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 14:50:03 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:16:05 +0200
commitce4e71eda613e52c02f85727a34d9b12f385c69d (patch)
tree789828d99108c00511865e79e74ad2483e90a6b5 /pkgs/applications/audio/ardour
parente730b150764c4253f014d69d30446121f3239f26 (diff)
downloadnixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar.gz
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar.bz2
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar.lz
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar.xz
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.tar.zst
nixpkgs-ce4e71eda613e52c02f85727a34d9b12f385c69d.zip
ardour5: use python2
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r--pkgs/applications/audio/ardour/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix
index 6adb3a0ed47..b7ea32cd1d4 100644
--- a/pkgs/applications/audio/ardour/default.nix
+++ b/pkgs/applications/audio/ardour/default.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
-, perl, pkgconfig, python, rubberband, serd, sord-svn, sratom
+, perl, pkgconfig, python2, rubberband, serd, sord-svn, sratom
 , taglib, vampSDK, dbus, fftw, pango, suil, libarchive }:
 
 let
@@ -34,7 +34,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
+      makeWrapper pango perl pkgconfig python2 rubberband serd sord-svn
       sratom suil taglib vampSDK libarchive
     ];
 
@@ -47,12 +47,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"