klarkc / purenix-packages

PureNix package sets powered by purs-nix.
MIT License
1 stars 0 forks source link

remove systems limited by the test #3

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://api.github.com/klarkc/purenix-packages/blob/38a3a467a7b0f328dd2dcfd70fd9eaade635078b/flake.nix#L23


{
  description = "PureNix package sets powered by purs-nix";

  inputs =
    {
      utils.url = "github:ursi/flake-utils";
      purs-nix.url = "github:purs-nix/purs-nix";
      nixpkgs.follows = "purs-nix/nixpkgs";
      package-set-repo.url = "github:purenix-org/purenix-package-sets";
      # FIXME use official-package-set from package-set-repo
      official-package-set-repo.url = "github:purescript/package-sets";
      official-package-set-repo.flake = false;
    };

  outputs = { self, nixpkgs, utils, ... }@inputs:
    let
      __functor = _: { system }:
        import ./nix/purs-nix inputs nixpkgs.legacyPackages.${system};
    in
    { inherit __functor; } // utils.apply-systems
      {
        inherit inputs;
        # TODO remove systems limited by the test
        systems = [ "x86_64-linux" ];
      }
      ({ system, pkgs, ... }@ctx:
        let
          generator = import ./nix/package-set/generate.nix
            inputs.package-set-repo
            inputs.official-package-set-repo
            pkgs;
        in
        {
          packages.package-set = generator;
        });
}
github-actions[bot] commented 1 year ago

Closed in 0543e6da98645a221c09f43e44f5b8d5646c40c6