18 lines
382 B
Nix
18 lines
382 B
Nix
|
{lib, ...}: {
|
||
|
nixpkgs.config = {
|
||
|
allowNonSource = false;
|
||
|
allowNonSourcePredicate = pkg:
|
||
|
builtins.elem (lib.getName pkg) [
|
||
|
"adoptopenjdk-hotspot-bin"
|
||
|
"cargo-bootstrap"
|
||
|
"rustc-bootstrap"
|
||
|
"rustc-bootstrap-wrapper"
|
||
|
];
|
||
|
|
||
|
allowUnfree = false;
|
||
|
allowUnfreePredicate = pkg:
|
||
|
builtins.elem (lib.getName pkg) [
|
||
|
];
|
||
|
};
|
||
|
}
|