Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsidian uses EOL Electron #3

Open
Octelly opened this issue Dec 21, 2023 · 0 comments
Open

Obsidian uses EOL Electron #3

Octelly opened this issue Dec 21, 2023 · 0 comments
Assignees
Labels
breaking update this issue breaks updating to the newest version

Comments

@Octelly
Copy link
Member

Octelly commented Dec 21, 2023

       … 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"
              ];
            }
      
@Octelly Octelly added the breaking update this issue breaks updating to the newest version label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking update this issue breaks updating to the newest version
Projects
None yet
Development

No branches or pull requests

2 participants