aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-03-16 16:44:42 +0100
committerregnat <rg@regnat.ovh>2021-03-16 16:44:42 +0100
commit5ec873b127139ca90cc31967c25c9a34fb4cc3e4 (patch)
tree45f65638c7c82ef751d30a044bcdb9677be232c8
parentbe60c9ef50bf5fa653138802f63727fa0aadf50a (diff)
Shorten the test drv name
To prevent the OSX build to fail because of a too long socket path
-rw-r--r--flake.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index c2e5db53a..1cd54e702 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;