From: Ismaƫl Bouya Date: Tue, 7 Apr 2020 21:03:54 +0000 (+0200) Subject: Fix tools after upgrade X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0a15a68cf30ccf0adfc8f19fe61c78e6313ea003;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Fix tools after upgrade --- 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*) "