diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-10-31 12:37:14 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-10-31 12:44:36 +0100 |
commit | e143a933f67eeaadc6aeaf56740bcf040f89b31f (patch) | |
tree | 5e947b5953ecd7b69af0ebe8fba4832b034904d4 /pkgs/stdenv/generic/check-meta.nix | |
parent | 9a4908ee615952792d0666b62e8ec110dabe020c (diff) | |
download | nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar.gz nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar.bz2 nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar.lz nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar.xz nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.tar.zst nixlib-e143a933f67eeaadc6aeaf56740bcf040f89b31f.zip |
check-meta.nix: Fix flake note
- These new-cli commands can be used with `-f`, in which case they're evaluated with pure evaluation disabled. - Nix 2.4+ is not part of the condition; "flakes" is fully descriptive and more relatable. - Don't suggest that it only enables this variable. - Just don't say too much.
Diffstat (limited to 'pkgs/stdenv/generic/check-meta.nix')
-rw-r--r-- | pkgs/stdenv/generic/check-meta.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 63fd00d266e4..9a794531bc1d 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -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: |