Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 8 lines 293 B view raw
1#!/usr/bin/env nix-shell 2#!nix-shell -i bash -p curl gnused jq common-updater-scripts 3 4set -eou pipefail 5 6version="$(curl --silent "https://api.github.com/repos/canonical/mir/tags" | jq '.[0].name' --raw-output)" 7 8update-source-version mir "${version:1}" --file=./pkgs/servers/mir/default.nix