Skip to content

Commit

Permalink
Merge pull request NixOS#264570 from hercules-ci/fix-check-meta-flake…
Browse files Browse the repository at this point in the history
…-note

check-meta.nix: Fix flake note `nix` CLI details
  • Loading branch information
infinisil authored Nov 9, 2023
2 parents 37e8baf + e143a93 commit 52708c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/stdenv/generic/check-meta.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52708c0

Please sign in to comment.