btfs: simplify shebang fixup

This commit is contained in:
Jörg Thalheim 2019-09-26 09:09:41 +01:00
parent 38bff390bc
commit 2e3df3f1a9
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -14,14 +14,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
boost fuse libtorrentRasterbar curl
boost fuse libtorrentRasterbar curl python3
];
preInstall = ''
substituteInPlace scripts/btplay \
--replace "/usr/bin/env python" "${python3.interpreter}"
'';
meta = with stdenv.lib; {
description = "A bittorrent filesystem based on FUSE";
homepage = https://github.com/johang/btfs;