From 693b1be81f0aa4537e2aa617be94f5ab73272edc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 8 Mar 2023 13:38:04 +0100 Subject: [PATCH] Run 'make installcheck' again This was failing because the check for the existence of the 'installcheck' target failed silently, so the whole phase got skipped. It works by running 'make -n installcheck 2> /dev/null', which however barfs with /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld.gold: error: cannot open tests/plugins/plugintest.o: No such file or directory Fixes #8004. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index c22da1aaf..9d9bd8d81 100644 --- a/flake.nix +++ b/flake.nix @@ -383,6 +383,7 @@ doInstallCheck = finalAttrs.doCheck; installCheckFlags = "sysconfdir=$(out)/etc"; + installCheckTarget = "installcheck"; # work around buggy detection in stdenv separateDebugInfo = !currentStdenv.hostPlatform.isStatic;