summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-07 23:03:54 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:55 +0200
commit0a15a68cf30ccf0adfc8f19fe61c78e6313ea003 (patch)
treefdd649cbb8329f93240c9dbec690b6d2329c6959
parent8b7b8ced5ab18857ab7cfd8dab7c78f7d4095323 (diff)
downloadNUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.tar.gz
NUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.tar.zst
NUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.zip
Fix tools after upgrade
-rw-r--r--pkgs/crypto/iota-cli-app/default.nix2
-rw-r--r--pkgs/duply/default.nix4
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
10 cp -a $src $out 10 cp -a $src $out
11 chmod u+w -R $out 11 chmod u+w -R $out
12 cd $out 12 cd $out
13 sed -i -e "s@host: 'http://localhost',@host: 'https://iri.trytes.eu',@" index.js 13 sed -i -e "s@host: 'http://localhost',@host: 'https://nodes.thetangle.org',@" index.js
14 sed -i -e "s@port: 14265@port: 443@" index.js 14 sed -i -e "s@port: 14265@port: 443@" index.js
15 ''; 15 '';
16 }); 16 });
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 @@
1{ stdenv, fetchurl, makeWrapper, coreutils, python2, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: 1{ stdenv, fetchurl, makeWrapper, coreutils, python3, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }:
2stdenv.mkDerivation rec { 2stdenv.mkDerivation rec {
3 name = "duply-${version}"; 3 name = "duply-${version}";
4 version = "2.1"; 4 version = "2.1";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
17 mkdir -p "$out/share/man/man1" 17 mkdir -p "$out/share/man/man1"
18 install -vD duply "$out/bin" 18 install -vD duply "$out/bin"
19 sed -i $out/bin/duply -e "1a \ 19 sed -i $out/bin/duply -e "1a \
20 export PATH='${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' 20 export PATH='${stdenv.lib.makeBinPath [ coreutils python3 duplicity gawk gnupg1 bash gnugrep txt2man which ]}'
21 " -e "1a \ 21 " -e "1a \
22 export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*) 22 export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*)
23 " 23 "