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