revset: restore parsing rule for expression without "modifier:" syntax 69c36fe1 parent e0a3ceb3

The new parse_program() will allow us to parse top-level string patterns with no parentheses. This patch also replaces a few callers of the old parse_program(). When we drop support for the all: modifier syntax, parse_program_with_modifier() will be replaced entirely.

authored by Yuya Nishihara

1
# To use: echo "source_env .envrc.recommended" >> .envrc
2
3
if has nix; then
4
5
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
6
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
7
fi
8
9
use flake
10
fi
11