hydra-jobs/flake.nix
2023-12-23 03:10:57 +01:00

28 lines
693 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.${system} = {
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
default = self.packages.${system}.nickel;
};
hydraJobs = {
inherit (self) packages;
};
};
}