btfs: use python3

This commit is contained in:
rnhmjoj
2018-08-08 02:20:53 +02:00
parent 873663b650
commit 55c4269c09
+2 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig,
python, boost, fuse, libtorrentRasterbar, curl }: python3, boost, fuse, libtorrentRasterbar, curl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "btfs-${version}"; name = "btfs-${version}";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
preInstall = '' preInstall = ''
substituteInPlace scripts/btplay \ substituteInPlace scripts/btplay \
--replace "/usr/bin/env python" "${python}/bin/python" --replace "/usr/bin/env python" "${python3.interpreter}"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {