hydra-jobs/flake.nix

28 lines
757 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 03:30:04 +01:00
nickel = {
url = github:tweag/nickel/stable;
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-22 19:33:51 +01:00
};
2023-12-23 03:30:04 +01:00
outputs = { self, nixpkgs, flake-utils, uiua, nickel }:
2023-12-23 03:25:41 +01:00
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
packages = {
2023-12-23 03:30:04 +01:00
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
2023-12-23 03:25:41 +01:00
};
hydraJobs = {
inherit (self) packages;
};
});
2023-12-22 19:33:51 +01:00
}