btfs: use python3

This commit is contained in:
rnhmjoj 2018-06-02 15:45:42 +02:00
parent 873663b650
commit 55c4269c09
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A

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; {