adafruit-nrfutil
0.5.3.post17Eval errorModified version of Nordic's nrfutil 0.5.x for use with the Adafruit Feather nRF52
Planning log · · This campaign
pkgs/by-name/ad/adafruit-nrfutil/package.nixPackage ‘adafruit-nrfutil-0.5.3.post17’ has an unfree license (‘unfreeRedistributable’), refusing to evaluate.
Full diagnostic
GC Warning: Failed to expand heap by 4194304 KiB
error:
… while evaluating attribute 'drv'
at /nix/store/j1sz8cd36rhcsba38vz3rkq6vqh2f4sj-filnix-experiment-0.2.0/lib/experiment/planner.nix:14:3:
13| {
14| drv = p.drvPath;
| ^
15| name = p.name;
… while evaluating the attribute 'drvPath'
at /nix/store/3m5h2q9pf7k1622y1slh9k8b0h4354j3-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 ‘adafruit-nrfutil-0.5.3.post17’ in /nix/store/3m5h2q9pf7k1622y1slh9k8b0h4354j3-source/pkgs/by-name/ad/adafruit-nrfutil/package.nix:59 has an unfree license (‘unfreeRedistributable’), 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) [
"adafruit-nrfutil"
];
}
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.