Hercules CI

This commit is contained in:
Sridhar Ratnakumar 2022-03-23 13:39:20 -04:00
parent 7b7e26c83a
commit ca4f5df04d

View file

@ -9,7 +9,8 @@
flake-compat.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
flake-utils.lib.eachDefaultSystem
(system:
let
# Because: https://zimbatm.com/notes/1000-instances-of-nixpkgs
pkgs = nixpkgs.legacyPackages.${system};
@ -50,5 +51,9 @@
# Used by `nix develop` (dev shell)
devShell = project true;
});
}) // {
# For hercules-CI support,
# https://docs.hercules-ci.com/hercules-ci/guides/upgrade-to-agent-0.9/#_upgrade_your_repositories
herculesCI.ciSystems = [ "x86_64-linux" ];
};
}