mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
8 lines
301 B
Bash
Executable file
8 lines
301 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl gnused jq common-updater-scripts
|
|
|
|
set -eou pipefail
|
|
|
|
version="$(curl --silent "https://api.github.com/repos/canonical/mir/releases" | jq '.[0].tag_name' --raw-output)"
|
|
|
|
update-source-version mir "${version:1}" --file=./pkgs/servers/mir/default.nix
|