summaryrefslogtreecommitdiff
path: root/pkgs/radicle-remove-curl-script.patch
diff options
context:
space:
mode:
authorstuebinm2023-10-12 01:02:42 +0200
committerstuebinm2023-10-12 01:02:42 +0200
commit1795ddbbe908360d051289e450eb2cf054b44dfc (patch)
tree3e4fbc8ebf8dfbce57d7ae6db6e424c307103529 /pkgs/radicle-remove-curl-script.patch
parent0bc531e9d6aa27d32210917a82263cc676d8ab41 (diff)
playing around with radicle.xyz
this packages the heartwood cli tools, the radicle web interface, and runs a small example deployment on chaski. TODO: decide if i want to keep this thing, then add declarative config of the web interface, `rad auth`, and the radicle node to a NixOS module; the current state is kinda suboptimal to deploy.
Diffstat (limited to 'pkgs/radicle-remove-curl-script.patch')
-rw-r--r--pkgs/radicle-remove-curl-script.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/radicle-remove-curl-script.patch b/pkgs/radicle-remove-curl-script.patch
new file mode 100644
index 0000000..ea8905d
--- /dev/null
+++ b/pkgs/radicle-remove-curl-script.patch
@@ -0,0 +1,23 @@
+From 5e1c17c4b14925ec3c0610e8557a19215ac8eb4e Mon Sep 17 00:00:00 2001
+From: stuebinm <stuebinm@disroot.org>
+Date: Wed, 11 Oct 2023 17:11:30 +0200
+Subject: [PATCH] remove curl invocation
+
+---
+ scripts/install-twemoji-assets | 4 +---
+ 3 files changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/scripts/install-twemoji-assets b/scripts/install-twemoji-assets
+index 741a02e..6990ba5 100755
+--- a/scripts/install-twemoji-assets
++++ b/scripts/install-twemoji-assets
+@@ -1,6 +1,4 @@
+ version="$(node -e 'console.log(require("twemoji/package.json").version)')"
+
+ echo "Installing Twemoji SVG assets v${version}"
+
+-curl -sSL "https://github.com/twitter/twemoji/archive/refs/tags/v${version}.tar.gz" \
+- | tar -x -z -C public/twemoji/ --strip-components=3 "twemoji-${version}/assets/svg"
+--
+2.40.1
+