hydra-jobs/flake.nix

28 lines
688 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;
flake-utils.url = github:numtide/flake-utils;
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-22 20:17:51 +01:00
outputs = { self, flake-utils, nixpkgs, uiua }:
2023-12-22 22:03:29 +01:00
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = {
2023-12-23 02:25:36 +01:00
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
2023-12-22 22:03:29 +01:00
};
hydraJobs = {
inherit (self) packages;
};
};
2023-12-22 19:33:51 +01:00
}