mfeeds: rename update.sh -> update.py
This commit is contained in:
parent
942c581107
commit
380ceaf625
|
@ -35,7 +35,7 @@
|
||||||
# but in a way where the least could go wrong.
|
# but in a way where the least could go wrong.
|
||||||
pushd "$sources_dir"; mkdir -p "$name"; popd
|
pushd "$sources_dir"; mkdir -p "$name"; popd
|
||||||
|
|
||||||
${./update.sh} "$url" "$json_path"
|
${./update.py} "$url" "$json_path"
|
||||||
cat "$json_path"
|
cat "$json_path"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit url;
|
inherit url;
|
||||||
};
|
};
|
||||||
passthru.updateScript = [ ./update.sh url jsonPath ];
|
passthru.updateScript = [ ./update.py url jsonPath ];
|
||||||
# passthru.updateScript = callPackage ./update.nix {
|
# passthru.updateScript = callPackage ./update.nix {
|
||||||
# inherit url jsonPath;
|
# inherit url jsonPath;
|
||||||
# };
|
# };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user