Nickel flake

This commit is contained in:
Nox Sluijtman 2023-12-23 02:25:36 +01:00
parent be629ae9a5
commit db5995518b

View file

@ -1,20 +1,24 @@
{
description = "A few hydra jobs";
inputs = {
#nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11;
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";
};
nickel = {
url = github:tweag/nickel/stable;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, flake-utils, nixpkgs, uiua }:
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = {
default = uiua.packages.${system}.default;
uiua = uiua.packages.${system}.default;
nickel = nickel.packages.${system}.default;
};
hydraJobs = {
inherit (self) packages;