mirror of
https://github.com/icewind1991/infinitime-builder.git
synced 2026-06-03 09:34:13 +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.lib.eachDefaultSystem (system: let
|
||||
inherit (nixpkgs.lib) getName;
|
||||
inherit (builtins) elem;
|
||||
pkgs = (import nixpkgs) {
|
||||
inherit system;
|
||||
# nrf5-sdk is unfree
|
||||
config.allowUnfree = true;
|
||||
config.allowUnfreePredicate = pkg: elem (getName pkg) [
|
||||
"nrf5-sdk"
|
||||
];
|
||||
};
|
||||
in rec {
|
||||
packages = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue