Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: openscreen 1.4.0 -> 1.5.0 https://github.com/siddharthvaddem/openscreen/releases attrpath: openscreen Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/g215z5b9qlfr82xx13vri1x1ass0niq6-packages.json.drv building '/nix/store/g215z5b9qlfr82xx13vri1x1ass0niq6-packages.json.drv'... Going to be running update for following packages: - openscreen-1.4.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - openscreen-1.4.0: UPDATING ... - openscreen-1.4.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/op/openscreen/package.nix b/pkgs/by-name/op/openscreen/package.nix index 662d9fc15fe2..1cf6cbcf0feb 100644 --- a/pkgs/by-name/op/openscreen/package.nix +++ b/pkgs/by-name/op/openscreen/package.nix @@ -18,16 +18,16 @@ buildNpmPackage (finalAttrs: { inherit nodejs; pname = "openscreen"; - version = "1.4.0"; + version = "1.5.0"; src = fetchFromGitHub { owner = "siddharthvaddem"; repo = "openscreen"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZBWDQVYDXJ/IQGhlmscmCOMjpl03kVIdMoJXOW8OjUI="; + hash = "sha256-csGCSYfqhQaswn/qdFeX3wZsAYlwU7V30n90HJrKslY="; }; - npmDepsHash = "sha256-SMAYgOwlZg9+/KZBUhVviOxEdMeL3Z2YdC8Hx8Q/ioY="; + npmDepsHash = "sha256-lx38H0qG5IrjQRekLG2N+x90Zq/emPfbxOo/qDSn7iE="; npmRebuildFlags = [ "--ignore-scripts" ]; # Prevent running `node-gyp build` No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A openscreen Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . openscreen --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" Standard output: error: … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'openscreen-1.5.0' whose name attribute is located at /var/cache/nixpkgs-update/worker/worktree/openscreen/pkgs/stdenv/generic/make-derivation.nix:651:11 … while evaluating attribute 'buildPhase' of derivation 'openscreen-1.5.0' at /var/cache/nixpkgs-update/worker/worktree/openscreen/pkgs/by-name/op/openscreen/package.nix:41:3: 40| 41| buildPhase = '' | ^ 42| runHook preBuild (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'electron-41.10.7' in /var/cache/nixpkgs-update/worker/worktree/openscreen/pkgs/development/tools/electron/binary/generic.nix:50 because it is marked as insecure Known issues: - Electron version 41.10.7 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-41.10.7’ to `nixpkgs.config.permittedInsecurePackages` in the configuration.nix, like so: { nixpkgs.config.permittedInsecurePackages = [ "electron-41.10.7" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add ‘electron-41.10.7’ to `permittedInsecurePackages` in ~/.config/nixpkgs/config.nix, like so: { permittedInsecurePackages = [ "electron-41.10.7" ]; }