You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… while evaluating attribute 'installPhase' of derivation 'obsidian-1.4.16'
at /nix/store/50bgi74d890mpkp90w1jwc5g0dw4dccr-source/pkgs/applications/misc/obsidian/default.nix:50:5:
49| nativeBuildInputs = [ makeWrapper imagemagick ];
50| installPhase = ''
| ^
51| runHook preInstall
… from call site
at /nix/store/50bgi74d890mpkp90w1jwc5g0dw4dccr-source/pkgs/stdenv/generic/check-meta.nix:503:13:
502| else if valid == "no" then (
503| handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
| ^
504| )
… while calling 'handleEvalIssue'
at /nix/store/50bgi74d890mpkp90w1jwc5g0dw4dccr-source/pkgs/stdenv/generic/check-meta.nix:263:38:
262|
263| handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
| ^
264| let
error: Package ‘electron-25.9.0’ in /nix/store/50bgi74d890mpkp90w1jwc5g0dw4dccr-source/pkgs/development/tools/electron/binary/generic.nix:35 is marked as insecure, refusing to evaluate.
Known issues:
- Electron version 25.9.0 is EOL
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) for `nixos-rebuild` you can add ‘electron-25.9.0’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘electron-25.9.0’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"electron-25.9.0"
];
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: