This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/hydra/default.nix

17 lines
352 B
Nix
Raw Permalink Normal View History

2023-01-21 08:41:31 +00:00
{
nix-packages,
nixpkgs,
system,
}: let
2023-01-21 11:14:25 +00:00
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
};
2023-01-21 10:25:00 +00:00
ci = import nix-packages {inherit pkgs;};
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
2023-01-21 08:41:31 +00:00
in
2023-01-21 11:03:25 +00:00
pkgs.lib.filterAttrs (name: _: !(isReserved name)) ci