p7zip-rar
17.06Eval errorNew p7zip fork with additional codecs and improvements (forked from https://sourceforge.net/projects/p7zip/)
Planning log · · This campaign
pkgs/tools/archivers/p7zip/default.nixPackage ‘p7zip-17.06’ has an unfree license (‘lgpl2Plus bsd3 unfree’), refusing to evaluate.
Full diagnostic
GC Warning: Failed to expand heap by 4194304 KiB
error:
… while evaluating attribute 'drv'
at /nix/store/9jzmw2l7ci5rnc4y8i3lapmwl908r143-filnix-experiment-0.9.0/lib/experiment/planner.nix:14:3:
13| {
14| drv = p.drvPath;
| ^
15| name = p.name;
… while evaluating the attribute 'drvPath'
at /nix/store/42br5lqwckjx44n76977cwb63bgsd6ld-source/lib/customisation.nix:418:7:
417| // {
418| drvPath =
| ^
419| assert condition;
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Package ‘p7zip-17.06’ in /nix/store/42br5lqwckjx44n76977cwb63bgsd6ld-source/pkgs/tools/archivers/p7zip/default.nix:78 has an unfree license (‘lgpl2Plus bsd3 unfree’), refusing to evaluate.
a) To temporarily allow unfree packages, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_UNFREE=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 set
{ nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.
Alternatively you can configure a predicate to allow specific packages:
{ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"p7zip"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.
Direct dependencies
None recorded.
Selected dependents
None recorded.