ticker/flake.nix

29 lines
670 B
Nix

{
description = "Ticker calendar aggregator";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
forSystems = nixpkgs.lib.genAttrs systems;
in rec {
packages = forSystems (system:
import ./default.nix {
pkgs = nixpkgs.legacyPackages.${system};
}
);
defaultPackage = forSystems (system:
self.packages.${system}.ticker-serve
);
hydraJobs =
packages.${builtins.head systems};
devShell = import ./shell.nix {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};
nixosModule = import ./nixos-module.nix;
};
}