Shorten the test drv name

To prevent the OSX build to fail because of a too long socket path
This commit is contained in:
regnat 2021-03-16 16:44:42 +01:00
parent be60c9ef50
commit 5ec873b127

View file

@ -147,7 +147,10 @@
testNixVersions = pkgs: client: daemon: with commonDeps pkgs; pkgs.stdenv.mkDerivation {
NIX_DAEMON_PACKAGE = daemon;
NIX_CLIENT_PACKAGE = client;
name = "nix-tests-${client.version}-against-${daemon.version}";
# Must keep this name short as OSX has a rather strict limit on the
# socket path length, and this name appears in the path of the
# nix-daemon socket used in the tests
name = "nix-tests";
inherit version;
src = self;