diff options
author | Shawn8901 <shawn8901@googlemail.com> | 2023-01-24 17:29:20 +0100 |
---|---|---|
committer | Shawn8901 <shawn8901@googlemail.com> | 2023-01-24 17:29:20 +0100 |
commit | 0a1dd3ced1d7a0d7d611c9f64e02fa9cd3ba3c6d (patch) | |
tree | a55d636b68c5d8266e8b3de05a1bcbbf925e21c3 /pkgs/applications/misc/electrum | |
parent | c0aeb3305473e3a0df97785f562ea8707630e999 (diff) |
treewide: remove global with lib; in pkgs/{misc,networking}
Diffstat (limited to 'pkgs/applications/misc/electrum')
-rw-r--r-- | pkgs/applications/misc/electrum/update.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/misc/electrum/update.nix b/pkgs/applications/misc/electrum/update.nix index 247fabe3891f1..7a0fb8fd3eb6d 100644 --- a/pkgs/applications/misc/electrum/update.nix +++ b/pkgs/applications/misc/electrum/update.nix @@ -10,8 +10,6 @@ , nix }: -with lib; - let downloadPageUrl = "https://download.electrum.org"; @@ -23,7 +21,7 @@ writeScript "update-electrum" '' set -eu -o pipefail -export PATH=${makeBinPath [ +export PATH=${lib.makeBinPath [ common-updater-scripts coreutils curl @@ -50,7 +48,7 @@ sigFile=$srcFile.asc export GNUPGHOME=$PWD/gnupg mkdir -m 700 -p "$GNUPGHOME" -gpg --batch --recv-keys ${concatStringsSep " " (map (x: "'${x}'") signingKeys)} +gpg --batch --recv-keys ${lib.concatStringsSep " " (map (x: "'${x}'") signingKeys)} gpg --batch --verify "$sigFile" "$srcFile" sha256=$(nix-prefetch-url --type sha256 "file://$PWD/$srcFile") |