summaryrefslogtreecommitdiff
path: root/pkgs/patches/radicle-remove-curl-script.patch
diff options
context:
space:
mode:
authorstuebinm2024-03-05 03:05:17 +0100
committerstuebinm2024-03-05 03:05:17 +0100
commitc11127995defe25c8b4164389750672a25e61fc0 (patch)
tree7b68c10dfd88fb401448d6bbfab3288df7b5afc1 /pkgs/patches/radicle-remove-curl-script.patch
parent911e1fd4986c0556321457a5606f0e747ef556c6 (diff)
restructure & general cleanup
- pkgs/ should now also contain all package overrides - pkgs/patches/ now contains all patches - nix flake info succeeds again - still not sure what to do about scripts - services which are not used should not be kept around this long
Diffstat (limited to 'pkgs/patches/radicle-remove-curl-script.patch')
-rw-r--r--pkgs/patches/radicle-remove-curl-script.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/patches/radicle-remove-curl-script.patch b/pkgs/patches/radicle-remove-curl-script.patch
new file mode 100644
index 0000000..ea8905d
--- /dev/null
+++ b/pkgs/patches/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
+