From 732712849371160903056656e2430188c3676da4 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 11 Jan 2023 10:52:10 +0000 Subject: [PATCH] feed-init: don't actually need to do the git actions --- pkgs/feeds/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/feeds/default.nix b/pkgs/feeds/default.nix index 33400250..a920ff3b 100644 --- a/pkgs/feeds/default.nix +++ b/pkgs/feeds/default.nix @@ -26,15 +26,11 @@ passthru.initFeedScript = pkgs.writeShellScript "init-feed" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p git name="$1" url="https://$name" dir="modules/data/feeds/sources/$name" json_path="$dir/default.json" mkdir "$dir" - touch "$json_path" - git add "$json_path" ${./update.sh} "$url" "$json_path" ''; }