Hercules CI
This commit is contained in:
parent
7b7e26c83a
commit
ca4f5df04d
1 changed files with 43 additions and 38 deletions
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue