mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
12 lines
344 B
Bash
12 lines
344 B
Bash
|
#!/usr/bin/env nix-shell
|
||
|
#!nix-shell -i bash -p curl cacert nix common-updater-scripts --pure
|
||
|
#shellcheck shell=bash
|
||
|
|
||
|
set -eu -o pipefail
|
||
|
|
||
|
# upstream doesn't use git, but has this file specifically for versioning
|
||
|
version="$(curl https://randombytes.cr.yp.to/librandombytes-latest-version.txt)"
|
||
|
|
||
|
update-source-version librandombytes "$version"
|
||
|
|