aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-04-12 22:35:13 +0200
committerAdrian Kummerlaender2019-04-12 22:35:48 +0200
commitcd9463e572f31b82a73cdab6db6b53f3a1237b3e (patch)
treee0b37008f0fc72d3d9a454f027ec3a6bcc82ba82 /utility
parentdb693f374cea1c8f8502399e3a2651f3a8946145 (diff)
downloadOverview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar.gz
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar.bz2
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar.lz
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar.xz
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.tar.zst
Overview-cd9463e572f31b82a73cdab6db6b53f3a1237b3e.zip
Use Nix to fetch ATOM feed
Fetching external resources during the actual build became problematic after the last major Nix update (build purity was improved). The sensible way of doing things in Nix seems to be to declare ALL build dependencies prior to the actual build -- this includes e.g. ATOM feeds to be aggregated. I am probably not going to do the same for the individual repository feeds as this feature is going to be replaced with a more general _microblog_-like subpage.
Diffstat (limited to 'utility')
-rwxr-xr-xutility/fetch_feed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/fetch_feed.sh b/utility/fetch_feed.sh
index 45dbc6c..37393f6 100755
--- a/utility/fetch_feed.sh
+++ b/utility/fetch_feed.sh
@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/usr/bin/env sh
curl $1 | sed -e 's~^\([\*]\)\{3\}~\t\t\*~g' -e 's~^\([\*]\)\{2\}~\t\*~g'