summaryrefslogtreecommitdiffstats
path: root/tv/2configs/elm-packages-proxy.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-11-27 11:27:42 +0100
committertv <tv@krebsco.de>2020-11-27 11:43:28 +0100
commitf654a4ce8643d64706c56461ac3c389df71dc541 (patch)
tree671c38713dd4c8eec8294191d2ed2a4f81078ae2 /tv/2configs/elm-packages-proxy.nix
parenta054df1437fda82f5a8f85962cfea2b7a053cf74 (diff)
tv elm-package-proxy: unzip -> p7zip
Diffstat (limited to 'tv/2configs/elm-packages-proxy.nix')
-rw-r--r--tv/2configs/elm-packages-proxy.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/elm-packages-proxy.nix b/tv/2configs/elm-packages-proxy.nix
index 5c2900e1c..4a0491b05 100644
--- a/tv/2configs/elm-packages-proxy.nix
+++ b/tv/2configs/elm-packages-proxy.nix
@@ -75,7 +75,7 @@ in {
pkgs.findutils
pkgs.gnugrep
pkgs.jq
- pkgs.unzip
+ pkgs.p7zip
]}
export PATH
file_response() {(
@@ -128,7 +128,7 @@ in {
;;
elm.json)
if ! test -f "$elmjson"; then
- unzip -p "$zipball" \*/elm.json > "$elmjson"
+ 7z x -so "$zipball" \*/elm.json > "$elmjson"
fi
file_response 200 OK "$elmjson" 'application/json; charset=UTF-8'
exit