Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: picosnitch 1.0.3 -> 2.0.2 https://github.com/elesiuta/picosnitch/releases attrpath: picosnitch Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/9chhx5hv3cr3xxkhb1gl80480z02hdcv-packages.json.drv building '/nix/store/9chhx5hv3cr3xxkhb1gl80480z02hdcv-packages.json.drv'... Going to be running update for following packages: - picosnitch-1.0.3 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - picosnitch-1.0.3: UPDATING ... - picosnitch-1.0.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/pi/picosnitch/package.nix b/pkgs/by-name/pi/picosnitch/package.nix index a5c32caa7772..de8321e42ae2 100644 --- a/pkgs/by-name/pi/picosnitch/package.nix +++ b/pkgs/by-name/pi/picosnitch/package.nix @@ -7,12 +7,12 @@ python3.pkgs.buildPythonApplication rec { pname = "picosnitch"; - version = "1.0.3"; + version = "2.0.2"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "78285e91b5c4d8e07529a34a7c3fe606acb6f950ee3cc78bb6c346bc2195b68a"; + sha256 = "sha256-kxQTfuEri93jMXO78ETUoVRDSXiT+6IimqNqPXx++rs="; }; propagatedBuildInputs = with python3.pkgs; [ 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 picosnitch Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . picosnitch --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/picosnitch/lib/customisation.nix:415:11: 414| // { 415| drvPath = | ^ 416| assert condition; … in the condition of the assert statement at /var/cache/nixpkgs-update/worker/worktree/picosnitch/lib/customisation.nix:416:13: 415| drvPath = 416| assert condition; | ^ 417| drv.drvPath; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'picosnitch-2.0.2' in /var/cache/nixpkgs-update/worker/worktree/picosnitch/pkgs/by-name/pi/picosnitch/package.nix:37 because it is marked as insecure Known issues: - Allows an unprivileged user to write to arbitrary files as root; see https://github.com/elesiuta/picosnitch/issues/40 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 ‘picosnitch-2.0.2’ to `nixpkgs.config.permittedInsecurePackages` in the configuration.nix, like so: { nixpkgs.config.permittedInsecurePackages = [ "picosnitch-2.0.2" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add ‘picosnitch-2.0.2’ to `permittedInsecurePackages` in ~/.config/nixpkgs/config.nix, like so: { permittedInsecurePackages = [ "picosnitch-2.0.2" ]; }