Merge pull request #264570 from hercules-ci/fix-check-meta-flake-note

check-meta.nix: Fix flake note `nix` CLI details
This commit is contained in:
Silvan Mosberger 2023-11-09 02:09:23 +01:00 committed by GitHub
commit 52708c0e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,9 +152,8 @@ let
# flakeNote will be printed in the remediation messages below.
flakeNote = "
Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
(Flake) command, `--impure` must be passed in order to read this
environment variable.
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
";
remediate_allowlist = allow_attr: rebuild_amendment: attrs: