mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
btfs: use python3
This commit is contained in:
parent
873663b650
commit
55c4269c09
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user