mirror of
https://github.com/icewind1991/infinitime-builder.git
synced 2026-06-03 17:44:10 +02:00
more restrictive unfree packages
This commit is contained in:
parent
7c2f3941a6
commit
57d6c7f349
1 changed files with 5 additions and 2 deletions
|
|
@ -10,10 +10,13 @@
|
||||||
utils,
|
utils,
|
||||||
}:
|
}:
|
||||||
utils.lib.eachDefaultSystem (system: let
|
utils.lib.eachDefaultSystem (system: let
|
||||||
|
inherit (nixpkgs.lib) getName;
|
||||||
|
inherit (builtins) elem;
|
||||||
pkgs = (import nixpkgs) {
|
pkgs = (import nixpkgs) {
|
||||||
inherit system;
|
inherit system;
|
||||||
# nrf5-sdk is unfree
|
config.allowUnfreePredicate = pkg: elem (getName pkg) [
|
||||||
config.allowUnfree = true;
|
"nrf5-sdk"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
packages = {
|
packages = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue