Merge pull request #297987 from raboof/check-meta-fix-allow-predicate-instructions
check-meta: fix 'predicate' instructions
This commit is contained in:
commit
d57327020e
@ -230,23 +230,23 @@ let
|
|||||||
|
|
||||||
$ export NIXPKGS_ALLOW_INSECURE=1
|
$ export NIXPKGS_ALLOW_INSECURE=1
|
||||||
${flakeNote}
|
${flakeNote}
|
||||||
b) for `nixos-rebuild` you can add ‘${getName attrs}’ to
|
b) for `nixos-rebuild` you can add ‘${lib.getName attrs}’ to
|
||||||
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
|
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
|
||||||
like so:
|
like so:
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"${getName attrs}"
|
"${lib.getName attrs}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
|
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
|
||||||
‘${getName attrs}’ to `permittedInsecurePackages` in
|
‘${lib.getName attrs}’ to `permittedInsecurePackages` in
|
||||||
~/.config/nixpkgs/config.nix, like so:
|
~/.config/nixpkgs/config.nix, like so:
|
||||||
|
|
||||||
{
|
{
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"${getName attrs}"
|
"${lib.getName attrs}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user