check-meta: fix instructions

Corrections to 17718ac255
This commit is contained in:
éclairevoyant 2024-06-16 18:06:06 -04:00
parent 900d8043bb
commit 396629c7b6
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -230,23 +230,23 @@ let
$ export NIXPKGS_ALLOW_INSECURE=1
${flakeNote}
b) for `nixos-rebuild` you can add ${lib.getName attrs} to
b) for `nixos-rebuild` you can add ${getName attrs} to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"${lib.getName attrs}"
"${getName attrs}"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
${lib.getName attrs} to `permittedInsecurePackages` in
${getName attrs} to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"${lib.getName attrs}"
"${getName attrs}"
];
}