Skip to content

Commit

Permalink
nix: Change postgrest-nixpkgs-upgrade to unstable
Browse files Browse the repository at this point in the history
Since we're currently on the unstable channel and will likely stay there
for a while, let's encode this in the update script.

Once we switch back to stable, if we do, we can still adjust it again.
  • Loading branch information
wolfgangwalther committed Dec 22, 2024
1 parent 07d6d75 commit 0d64044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/tools/nixpkgsTools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let
''
# The list of refs is sorted. The first result will be nixpkgs-unstable, the second the latest stable branch.
# shellcheck disable=SC2207
commit=($(${curl}/bin/curl "${refUrl}" -H "${githubV3Header}" | ${jq}/bin/jq -r 'sort_by(.ref) | reverse | [.[1].object.sha, .[1].ref] | @tsv'))
commit=($(${curl}/bin/curl "${refUrl}" -H "${githubV3Header}" | ${jq}/bin/jq -r 'sort_by(.ref) | reverse | [.[0].object.sha, .[0].ref] | @tsv'))
tarballUrl="${tarballUrlBase}''${commit[0]}.tar.gz"
tarballHash="$(${nix}/bin/nix-prefetch-url --unpack "$tarballUrl")"
currentDate="$(${coreutils}/bin/date --iso)"
Expand Down

0 comments on commit 0d64044

Please sign in to comment.