commit a1363d6a5cfe69454a5eee46ab04ca5529f33a59 parent 7b7d90c535a8660d68a0bc50cf07ed6d83e9c314 Author: William Casarin <jb55@jb55.com> Date: Sat, 16 Jan 2021 09:40:48 -0800 rsslink: only return one href Diffstat:
M | jb55pkgs/pkgs/rsslink/default.nix | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jb55pkgs/pkgs/rsslink/default.nix b/jb55pkgs/pkgs/rsslink/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { src = writeScript "rsslink" '' #!${bash}/bin/bash - ${pup}/bin/pup 'link[type="application/rss+xml"] attr{href}' + ${pup}/bin/pup 'link[type="application/rss+xml"] attr{href}' | head -n1 ''; phases = ["installPhase"];