btfs: use python3
This commit is contained in:
parent
873663b650
commit
55c4269c09
@ -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; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user