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
9 lines
389 B
Bash
Executable File
9 lines
389 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl nix-update jq
|
|
|
|
# GitHub tags include many unrelated subpackage versions, making it unreliable to determine the latest mongosh version.
|
|
# Fetch the latest mongosh version directly from the npm registry instead.
|
|
version="$(curl -fsSL https://registry.npmjs.org/mongosh/latest | jq -r ".version")"
|
|
|
|
nix-update --version "$version" mongosh
|