mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
12 lines
338 B
Bash
Executable File
12 lines
338 B
Bash
Executable File
#!/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://cpucycles.cr.yp.to/libcpucycles-latest-version.txt)"
|
|
|
|
update-source-version libcpucycles "$version"
|
|
|