hydra-jobs/flake.nix

28 lines
717 B
Nix
Raw Normal View History

2023-12-22 19:33:51 +01:00
{
description = "A few hydra jobs";
inputs = {
2023-12-22 20:17:51 +01:00
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
2023-12-23 03:17:18 +01:00
flake-utils.url = github:numtide/flake-utils;
2023-12-22 20:17:51 +01:00
uiua = {
url = github:uiua-lang/uiua?ref=0.7.1;
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-23 02:25:36 +01:00
nickel = {
url = github:tweag/nickel/stable;
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-22 19:33:51 +01:00
};
2023-12-23 03:17:18 +01:00
outputs = { self, nixpkgs, flake-utils, uiua, nickel }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
2023-12-22 22:03:29 +01:00
in {
2023-12-23 03:17:18 +01:00
packages = {
2023-12-23 03:19:22 +01:00
#uiua = uiua.packages.${system}.default;
default = nickel.packages.${system}.default;
2023-12-22 22:03:29 +01:00
};
hydraJobs = {
inherit (self) packages;
};
2023-12-23 03:17:18 +01:00
});
2023-12-22 19:33:51 +01:00
}