16 lines
352 B
Nix
16 lines
352 B
Nix
{
|
|
nix-packages,
|
|
nixpkgs,
|
|
system,
|
|
}: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnsupportedSystem = true;
|
|
};
|
|
};
|
|
ci = import nix-packages {inherit pkgs;};
|
|
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
|
|
in
|
|
pkgs.lib.filterAttrs (name: _: !(isReserved name)) ci
|