hydra-jobs/flake.nix

28 lines
693 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;
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 02:31:42 +01:00
outputs = { self, nixpkgs, uiua, nickel }:
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2023-12-22 22:03:29 +01:00
in {
2023-12-23 03:10:57 +01:00
packages.${system} = {
2023-12-23 02:25:36 +01:00
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
2023-12-23 03:10:57 +01:00
default = self.packages.${system}.nickel;
2023-12-22 22:03:29 +01:00
};
hydraJobs = {
inherit (self) packages;
};
};
2023-12-22 19:33:51 +01:00
}