error: Refusing to evaluate package 'electron-42.11.18' in /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/development/tools/electron/binary/generic.nix:50 because it is marked as insecure Known issues: - Electron version 42.11.18 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-42.11.18’ to `nixpkgs.config.permittedInsecurePackages` in the configuration.nix, like so: { nixpkgs.config.permittedInsecurePackages = [ "electron-42.11.18" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add ‘electron-42.11.18’ to `permittedInsecurePackages` in ~/.config/nixpkgs/config.nix, like so: { permittedInsecurePackages = [ "electron-42.11.18" ]; } at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:645:13 … while calling the 'throw' builtin at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:645:13 … while calling the '__seq' builtin at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:657:5 … while calling 'handle' at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:623:5 … from call site at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:686:19 … while evaluating the attribute 'handled' at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/check-meta.nix:686:9 … while calling the '__head' builtin at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/attrsets.nix:1711:13 … while calling anonymous lambda at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/attrsets.nix:1706:17 … while evaluating the attribute 'dist' … while evaluating attribute 'buildPhase' of derivation 'opencode-desktop-1.19.4' at /nix/store/saia28yp2ccm9jjqxyl7zfml3aan2642-source/packages/opencode-desktop/package.nix:165:3 … while evaluating derivation 'opencode-desktop-1.19.4' whose name attribute is located at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/make-derivation.nix:651:11 … while calling the 'derivationStrict' builtin at «derivation-internal»:36:12 … while calling the '__getAttr' builtin at «derivation-internal»:49:17 … while evaluating the attribute 'outPath' at «derivation-internal»:49:7 … while calling the '__isFunction' builtin at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/trivial.nix:1147:5 … while calling anonymous lambda at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/trivial.nix:1144:5 … from call site at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/trivial.nix:1236:22 … while calling 'toFunction' at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/lib/trivial.nix:1236:16 … from call site at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/build-support/trivial-builders/default.nix:88:24 … while evaluating attribute 'buildCommand' of derivation 'check-opencode-desktop' at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/build-support/trivial-builders/default.nix:88:9 … while evaluating derivation 'check-opencode-desktop' whose name attribute is located at /nix/store/nic9x1akidq8w8khp8gc7plvav3pps2v-source/pkgs/stdenv/generic/make-derivation.nix:651:11 … while calling the 'derivationStrict' builtin at «derivation-internal»:36:12 … while evaluating the attribute 'drvPath' at «derivation-internal»:50:7