aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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 }:
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 "