2021-03-21 18:05:11 +00:00
|
|
|
{
|
2023-12-10 08:22:38 +00:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
2021-03-21 18:05:11 +00:00
|
|
|
|
2023-07-21 01:24:29 +00:00
|
|
|
outputs = { nixpkgs, ... }:
|
2021-09-25 03:17:06 +00:00
|
|
|
let
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
in
|
|
|
|
{
|
2022-04-22 08:36:52 +00:00
|
|
|
hydraJobs = import ./ci.nix { inherit pkgs; };
|
2023-12-10 15:58:22 +00:00
|
|
|
|
2023-12-16 09:10:49 +00:00
|
|
|
legacyPackages.x86_64-linux = {
|
|
|
|
brokenPkgs = {
|
|
|
|
brokenPackage = throw "this is an evaluation error";
|
|
|
|
};
|
|
|
|
infiniteRecursionPkgs = {
|
|
|
|
packageWithInfiniteRecursion =
|
|
|
|
let
|
|
|
|
recursion = [ recursion ];
|
|
|
|
in
|
|
|
|
derivation {
|
|
|
|
inherit (pkgs) system;
|
|
|
|
name = "drvB";
|
|
|
|
recursiveAttr = recursion;
|
|
|
|
builder = ":";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2021-03-21 18:05:11 +00:00
|
|
|
};
|
|
|
|
}
|