2024-05-01 22:14:04 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:auxolotl/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
|
2024-05-03 20:17:59 +00:00
|
|
|
outputs =
|
|
|
|
{ self, nixpkgs, ... }:
|
2024-05-01 22:14:04 +00:00
|
|
|
let
|
2024-05-03 20:17:59 +00:00
|
|
|
forAllSystems = self.lib.genAttrs self.lib.systems.flakeExposed;
|
2024-05-01 22:14:04 +00:00
|
|
|
in
|
|
|
|
{
|
2024-05-03 20:17:59 +00:00
|
|
|
lib = import ./lib;
|
|
|
|
|
|
|
|
nixPackages = forAllSystems (system: nixpkgs.legacyPackages.${system});
|
2024-05-01 22:14:04 +00:00
|
|
|
|
|
|
|
# auxPackages = forAllSystems (system:
|
|
|
|
# (import ./. { inherit system; })
|
|
|
|
# );
|
|
|
|
|
|
|
|
# To test, run nix build .#tests.x86_64-linux.release
|
2024-05-03 20:17:59 +00:00
|
|
|
tests = forAllSystems (system: {
|
|
|
|
systems = import ./lib/tests/systems.nix;
|
|
|
|
release = import ./lib/tests/release.nix { pkgs = self.nixPackages.${system}; };
|
|
|
|
});
|
2024-05-01 22:14:04 +00:00
|
|
|
};
|
|
|
|
}
|