diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/netease-music-tui/update-cargo-lock.sh')
-rwxr-xr-x | nixpkgs/pkgs/applications/audio/netease-music-tui/update-cargo-lock.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/nixpkgs/pkgs/applications/audio/netease-music-tui/update-cargo-lock.sh b/nixpkgs/pkgs/applications/audio/netease-music-tui/update-cargo-lock.sh deleted file mode 100755 index dc8a1bf3e468..000000000000 --- a/nixpkgs/pkgs/applications/audio/netease-music-tui/update-cargo-lock.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -p coreutils gnugrep git cargo - -# This updates cargo-lock.patch for the netease-music-tui version listed in -# default.nix. - -set -euo pipefail - -here=$(dirname "$0") -version=$(grep '^ version = "' "$here/default.nix" | cut -d '"' -f 2) -checkout=$(mktemp -d) -git clone -b "v$version" --depth=1 https://github.com/betta-cyber/netease-music-tui "$checkout" - -cargo generate-lockfile --manifest-path "$checkout/Cargo.toml" -cp "$checkout/Cargo.lock" "$here" - -rm -rf "$checkout" |