indeed
This commit is contained in:
parent
b608fdc3e1
commit
55371ddc75
16
flake.nix
16
flake.nix
|
@ -2,6 +2,7 @@
|
||||||
description = "A few hydra jobs";
|
description = "A few hydra jobs";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
||||||
|
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";
|
||||||
|
@ -11,17 +12,16 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, uiua, nickel }:
|
outputs = { self, nixpkgs, flake-utils, uiua, nickel }:
|
||||||
let system = "x86_64-linux";
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
in {
|
in {
|
||||||
packages.${system} = {
|
packages = {
|
||||||
uiua = uiua.packages.${system}.default;
|
uiua = uiua.packages.default;
|
||||||
nickel = nickel.packages.${system}.default;
|
nickel = nickel.packages.default;
|
||||||
default = self.packages.${system}.nickel;
|
|
||||||
};
|
};
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit (self) packages;
|
inherit (self) packages;
|
||||||
};
|
};
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue