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,
python, boost, fuse, libtorrentRasterbar, curl }:
python3, boost, fuse, libtorrentRasterbar, curl }:
stdenv.mkDerivation rec {
name = "btfs-${version}";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
preInstall = ''
substituteInPlace scripts/btplay \
--replace "/usr/bin/env python" "${python}/bin/python"
--replace "/usr/bin/env python" "${python3.interpreter}"
'';
meta = with stdenv.lib; {