diff --git a/pkgs/feeds/default.nix b/pkgs/feeds/default.nix index fbd7608c..85931b71 100644 --- a/pkgs/feeds/default.nix +++ b/pkgs/feeds/default.nix @@ -35,7 +35,7 @@ # but in a way where the least could go wrong. pushd "$sources_dir"; mkdir -p "$name"; popd - ${./update.sh} "$url" "$json_path" + ${./update.py} "$url" "$json_path" cat "$json_path" ''; } diff --git a/pkgs/feeds/template.nix b/pkgs/feeds/template.nix index 64e04381..e9a74efd 100644 --- a/pkgs/feeds/template.nix +++ b/pkgs/feeds/template.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation { src = fetchurl { inherit url; }; - passthru.updateScript = [ ./update.sh url jsonPath ]; + passthru.updateScript = [ ./update.py url jsonPath ]; # passthru.updateScript = callPackage ./update.nix { # inherit url jsonPath; # }; diff --git a/pkgs/feeds/update.sh b/pkgs/feeds/update.py similarity index 100% rename from pkgs/feeds/update.sh rename to pkgs/feeds/update.py