diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-07 23:03:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-07 23:03:54 +0200 |
commit | 01c4c5a4f6314cbebf65ce68bc941efb0e4c6aa5 (patch) | |
tree | a51e588a0248eb94a7c479d772c616908f57bc58 /pkgs | |
parent | c0d1c186b7811daaebea87563978c426856f28d0 (diff) | |
download | Nix-01c4c5a4f6314cbebf65ce68bc941efb0e4c6aa5.tar.gz Nix-01c4c5a4f6314cbebf65ce68bc941efb0e4c6aa5.tar.zst Nix-01c4c5a4f6314cbebf65ce68bc941efb0e4c6aa5.zip |
Fix tools after upgrade
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/crypto/iota-cli-app/default.nix | 2 | ||||
-rw-r--r-- | 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 17d7714..e9e9f92 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 3816996..2d24d4f 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 }: |
2 | stdenv.mkDerivation rec { | 2 | stdenv.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 | " |