From 55c4269c0934737bef9b37bc69a178d70137e081 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 2 Jun 2018 15:45:42 +0200 Subject: [PATCH] btfs: use python3 --- pkgs/os-specific/linux/btfs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/btfs/default.nix b/pkgs/os-specific/linux/btfs/default.nix index 83c442618b8..9c2692b037e 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; {