From a536870a20cbf24a3743e5e769c4fb096abb8ecf Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sun, 31 Aug 2025 22:30:00 +0200 Subject: [PATCH] chickenPackages.chickenEggs: Adapt update script We use a new methods to update all eggs because git snapshots are no longer provided by upstream. --- pkgs/development/compilers/chicken/5/update.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/chicken/5/update.sh b/pkgs/development/compilers/chicken/5/update.sh index 2dcceef456dd..edf698c6dff4 100755 --- a/pkgs/development/compilers/chicken/5/update.sh +++ b/pkgs/development/compilers/chicken/5/update.sh @@ -1,10 +1,9 @@ #!/usr/bin/env nix-shell -#! nix-shell -I nixpkgs=../../../../.. -i ysh -p oils-for-unix chicken +#! 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-url \ - 'https://code.call-cc.org/cgi-bin/gitweb.cgi?p=eggs-5-latest.git;a=snapshot;h=master;sf=tgz' \ - --name chicken-eggs-5-latest --unpack --print-path | tail -1) +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 {