summary refs log tree commit diff
path: root/pkgs/os-specific/linux/btfs
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2018-06-02 15:45:42 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2018-08-08 02:20:53 +0200
commit55c4269c0934737bef9b37bc69a178d70137e081 (patch)
tree0d8594039a9b39362ef3a1fdf1f68e524a62102d /pkgs/os-specific/linux/btfs
parent873663b6509579e184d7eda12cb9d2365589e124 (diff)
downloadnixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar.gz
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar.bz2
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar.lz
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar.xz
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.tar.zst
nixlib-55c4269c0934737bef9b37bc69a178d70137e081.zip
btfs: use python3
Diffstat (limited to 'pkgs/os-specific/linux/btfs')
-rw-r--r--pkgs/os-specific/linux/btfs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/btfs/default.nix b/pkgs/os-specific/linux/btfs/default.nix
index 83c442618b8e..9c2692b037ef 100644
--- a/pkgs/os-specific/linux/btfs/default.nix
+++ b/pkgs/os-specific/linux/btfs/default.nix
@@ -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; {