summary refs log tree commit diff
path: root/pkgs/os-specific/linux/btfs/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2019-09-26 09:09:41 +0100
committerJörg Thalheim <joerg@thalheim.io>2019-09-26 09:09:41 +0100
commit2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df (patch)
tree41b134e3b99bab0af81181295481e2085a4444c4 /pkgs/os-specific/linux/btfs/default.nix
parent38bff390bc8be578c2d258e9b4c34d9a8a3533dd (diff)
downloadnixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar.gz
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar.bz2
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar.lz
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar.xz
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.tar.zst
nixpkgs-2e3df3f1a9d7195a433af2e5ddf86b3d3a7604df.zip
btfs: simplify shebang fixup
Diffstat (limited to 'pkgs/os-specific/linux/btfs/default.nix')
-rw-r--r--pkgs/os-specific/linux/btfs/default.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/btfs/default.nix b/pkgs/os-specific/linux/btfs/default.nix
index f21c9dcad35..d2e5d91e365 100644
--- a/pkgs/os-specific/linux/btfs/default.nix
+++ b/pkgs/os-specific/linux/btfs/default.nix
@@ -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;