Skip to content

Commit

Permalink
Run 'make installcheck' again
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
edolstra committed Mar 8, 2023
1 parent 0159dfa commit 693b1be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@

doInstallCheck = finalAttrs.doCheck;
installCheckFlags = "sysconfdir=$(out)/etc";
installCheckTarget = "installcheck"; # work around buggy detection in stdenv

separateDebugInfo = !currentStdenv.hostPlatform.isStatic;

Expand Down

0 comments on commit 693b1be

Please sign in to comment.