From 0a15a68cf30ccf0adfc8f19fe61c78e6313ea003 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 7 Apr 2020 23:03:54 +0200 Subject: [PATCH] Fix tools after upgrade --- pkgs/crypto/iota-cli-app/default.nix | 2 +- pkgs/duply/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/crypto/iota-cli-app/default.nix b/pkgs/crypto/iota-cli-app/default.nix index 17d7714b..e9e9f92a 100644 --- a/pkgs/crypto/iota-cli-app/default.nix +++ b/pkgs/crypto/iota-cli-app/default.nix @@ -10,7 +10,7 @@ let cp -a $src $out chmod u+w -R $out cd $out - sed -i -e "s@host: 'http://localhost',@host: 'https://iri.trytes.eu',@" index.js + sed -i -e "s@host: 'http://localhost',@host: 'https://nodes.thetangle.org',@" index.js sed -i -e "s@port: 14265@port: 443@" index.js ''; }); diff --git a/pkgs/duply/default.nix b/pkgs/duply/default.nix index 3816996c..2d24d4fa 100644 --- a/pkgs/duply/default.nix +++ b/pkgs/duply/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, makeWrapper, coreutils, python2, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: +{ stdenv, fetchurl, makeWrapper, coreutils, python3, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: stdenv.mkDerivation rec { name = "duply-${version}"; version = "2.1"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { mkdir -p "$out/share/man/man1" install -vD duply "$out/bin" sed -i $out/bin/duply -e "1a \ - export PATH='${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' + export PATH='${stdenv.lib.makeBinPath [ coreutils python3 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' " -e "1a \ export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*) " -- 2.41.0