spark-wallet: use HTTPS instead of SSH for Github

This commit is contained in:
nixbitcoin
2022-01-01 19:12:20 +01:00
committed by Erik Arvstedt
parent 906b7f83ff
commit bb9f0b54ca
2 changed files with 16 additions and 7 deletions
+10 -1
View File
@@ -46,4 +46,13 @@ fetchurl {
hash = "$hash";
};
EOF
sed -i "s|src = .*/src;|src = ${fetchurl//$'\n'/\\n}|" node-packages.nix
sed -i "
# Use the verified package src
s|src = .*/src;|src = ${fetchurl//$'\n'/\\n}|
# github: use HTTPS instead of SSH, which requires user authentication
s|git+ssh://git@|https://|
s|ssh://git@|https://|
s|\.git#|#|
" node-packages.nix