diff --git a/dev.nix b/dev.nix index d712bd4..d9b6315 100644 --- a/dev.nix +++ b/dev.nix @@ -70,8 +70,7 @@ let #!/bin/bash set -euo pipefail - version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?[^ ]+))") | .version') + version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?[^ ]+))") | .version') if [[ "${exeName}" = "stylua" ]]; then # Special case for stylua which has versions that start with `v` version="v$version"