about summary refs log tree commit diff
path: root/pkgs/development/libraries/aubio
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-18 08:44:57 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:16:03 +0200
commit8a1e52b0d234aeefd17093d8573e22278e85a49b (patch)
tree1499721093d0ebc9315ea80f56cf2461df11b1cf /pkgs/development/libraries/aubio
parent635b4fbce8450164bc07928690033bf7bfe67de2 (diff)
downloadnixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar.gz
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar.bz2
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar.lz
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar.xz
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.tar.zst
nixlib-8a1e52b0d234aeefd17093d8573e22278e85a49b.zip
aubio: use python2
Diffstat (limited to 'pkgs/development/libraries/aubio')
-rw-r--r--pkgs/development/libraries/aubio/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/aubio/default.nix b/pkgs/development/libraries/aubio/default.nix
index 472a2ad98078..1d315d28aeef 100644
--- a/pkgs/development/libraries/aubio/default.nix
+++ b/pkgs/development/libraries/aubio/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
-, libsndfile, pkgconfig, python
+, libsndfile, pkgconfig, python2
 }:
 
 stdenv.mkDerivation rec {
@@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [
-    alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python
+    alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python2
   ];
 
-  configurePhase = "python waf configure --prefix=$out";
+  configurePhase = "${python2.interpreter} waf configure --prefix=$out";
 
-  buildPhase = "python waf";
+  buildPhase = "${python2.interpreter} waf";
 
-  installPhase = "python waf install";
+  installPhase = "${python2.interpreter} waf install";
 
   meta = with stdenv.lib; { 
     description = "Library for audio labelling";