modules.cluster: nomad 1.3.1 -> 1.3.3

This commit is contained in:
Astro 2022-08-15 23:38:20 +02:00
parent 5741ba6aa6
commit 4bdd221264
2 changed files with 15 additions and 1 deletions

View File

@ -57,7 +57,7 @@ in {
settings = {
datacenter = "c3d2";
plugin.raw_exec.config.enabled = true;
# no /dev/kvm otherwise. TODO: retry with nomad>1.3.1
# no /dev/kvm otherwise. TODO: retry with nomad>1.3.3
plugin.raw_exec.config.no_cgroups = true;
server = {

View File

@ -56,6 +56,20 @@ in
SimpleYggGen-CPP = prev.callPackage ./simpleygggen.nix { };
# TODO: pending https://github.com/NixOS/nixpkgs/pull/186847
nomad_1_3 = with prev; nomad_1_3.override {
buildGoModule = buildGo118Module;
callPackage = f: _: prev.callPackage f {
buildGoModule = buildGo118Module;
version = "1.3.3";
sha256 = "sha256-/63QGknivXyBel2MhMzbh/rE+UrfV3mb+zPZzOU15WU=";
vendorSha256 = "sha256-5ubJ6hgpdkZd/hwy+u2S6XgQLD5xmgUnaUqJoLdguBQ=";
nvidiaGpuSupport = false;
patchelf = null;
nvidia_x11 = null;
};
};
wander =
if prev ? wander
then builtins.trace "`wander` is now available on stable NixOS. Please remove from overlay!"