ticker/flake.nix

29 lines
670 B
Nix
Raw Normal View History

2021-03-08 23:11:40 +01:00
{
description = "Ticker calendar aggregator";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
forSystems = nixpkgs.lib.genAttrs systems;
2021-03-13 03:44:39 +01:00
in rec {
2021-03-08 23:11:40 +01:00
packages = forSystems (system:
import ./default.nix {
pkgs = nixpkgs.legacyPackages.${system};
}
);
defaultPackage = forSystems (system:
self.packages.${system}.ticker-serve
);
2021-03-13 03:44:39 +01:00
hydraJobs =
packages.${builtins.head systems};
2021-03-08 23:11:40 +01:00
devShell = import ./shell.nix {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};
2021-03-10 01:15:52 +01:00
nixosModule = import ./nixos-module.nix;
2021-03-08 23:11:40 +01:00
};
}