diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/b3sum/update-cargo-lock.sh')
-rwxr-xr-x | nixpkgs/pkgs/tools/security/b3sum/update-cargo-lock.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/nixpkgs/pkgs/tools/security/b3sum/update-cargo-lock.sh b/nixpkgs/pkgs/tools/security/b3sum/update-cargo-lock.sh deleted file mode 100755 index 8c52ad5cf6c0..000000000000 --- a/nixpkgs/pkgs/tools/security/b3sum/update-cargo-lock.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# This updates cargo-lock.patch for the b3sum version listed in default.nix. - -set -eu -o verbose - -here=$PWD -version=$(cat default.nix | grep '^ version = "' | cut -d '"' -f 2) -checkout=$(mktemp -d) -git clone -b "$version" --depth=1 https://github.com/BLAKE3-team/BLAKE3 "$checkout" -cd "$checkout" - -(cd b3sum && cargo generate-lockfile) -mv b3sum/Cargo.lock ./ -git add -f Cargo.lock -git diff HEAD -- Cargo.lock > "$here"/cargo-lock.patch - -cd "$here" -rm -rf "$checkout" |