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
+2 -3
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: