hydra-jobs/flake.nix
2023-12-23 02:43:45 +01:00

29 lines
689 B
Nix

{
description = "A few hydra jobs";
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
uiua = {
url = github:uiua-lang/uiua?ref=0.7.1;
inputs.nixpkgs.follows = "nixpkgs";
};
nickel = {
url = github:tweag/nickel/stable;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, uiua, nickel }:
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = rec {
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
default = nickel;
};
hydraJobs = {
inherit (self) packages;
default = packages;
};
};
}