diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-09-15 16:13:22 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2024-09-15 16:52:30 +0200 |
commit | 80202e3ca314c21547c48f3a23d3f629cd9ddb87 (patch) | |
tree | 62d383f680d625443eb36123b783775e4bcf0c15 /treefmt.toml | |
parent | 727258241fc0b3c02691b72302d2c3092baca275 (diff) |
common-eval-args: raise warning if `--arg` isn't a valid Nix identifier
See https://git.lix.systems/lix-project/lix/issues/496.
The core idea is to be able to do e.g.
nix-instantiate -A some-nonfree-thing --arg config.allowUnfree true
which is currently not possible since `config.allowUnfree` is
interpreted as attribute name with a dot in it.
In order to change that (probably), Jade suggested to find out if there
are any folks out there relying on this behavior.
For such a use-case, it may still be possible to accept strings, i.e.
`--arg '"config.allowUnfree"'.
Change-Id: I986c73619fbd87a95b55e2f0ac03feaed3de2d2d
Diffstat (limited to 'treefmt.toml')
0 files changed, 0 insertions, 0 deletions