From 5311f8ded0bccf2a4e5fcafb75a240197c09b959 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 22 Dec 2022 20:10:29 +0100 Subject: hercules-ci-agent: Remove old nix version check This problem is multiple releases in the past now. It has served its purpose. --- modules/services/hercules-ci-agent/common.nix | 37 +-------------------------- 1 file changed, 1 insertion(+), 36 deletions(-) (limited to 'modules') diff --git a/modules/services/hercules-ci-agent/common.nix b/modules/services/hercules-ci-agent/common.nix index 8b56d5a..6401f6f 100644 --- a/modules/services/hercules-ci-agent/common.nix +++ b/modules/services/hercules-ci-agent/common.nix @@ -24,32 +24,6 @@ let inherit (import ./settings.nix { inherit pkgs lib; }) format settingsModule; - # TODO (roberth, >=2022) remove - checkNix = - if !cfg.checkNix - then "" - else if lib.versionAtLeast config.nix.package.version "2.3.10" - then "" - else - pkgs.stdenv.mkDerivation { - name = "hercules-ci-check-system-nix-src"; - inherit (config.nix.package) src patches; - dontConfigure = true; - buildPhase = '' - echo "Checking in-memory pathInfoCache expiry" - if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then - cat 1>&2 <