Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
16 lines
740 B
Bash
Executable File
16 lines
740 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#! nix-shell -I nixpkgs=../../../../.. -i ysh -p oils-for-unix chicken nix-prefetch-git jq
|
|
|
|
setglobal ENV.URL_PREFIX="https://code.call-cc.org/egg-tarballs/5/"
|
|
cd $(nix-prefetch-git --deepClone --quiet \
|
|
https://code.call-cc.org/eggs-5-latest | jq --raw-output .path)
|
|
|
|
echo "# THIS IS A GENERATED FILE. DO NOT EDIT!" > $_this_dir/deps.toml
|
|
for i, item in */*/*.egg {
|
|
setglobal ENV.EGG_NAME=$(dirname $(dirname $item))
|
|
setglobal ENV.EGG_VERSION=$(basename $(dirname $item))
|
|
setglobal ENV.EGG_URL="$[ENV.URL_PREFIX]$[ENV.EGG_NAME]/$[ENV.EGG_NAME]-$[ENV.EGG_VERSION].tar.gz"
|
|
setglobal ENV.EGG_SHA256=$(nix-prefetch-url $[ENV.EGG_URL])
|
|
csi -s $_this_dir/read-egg.scm < $item
|
|
} >> $_this_dir/deps.toml
|