diff options
author | regnat <rg@regnat.ovh> | 2021-03-16 16:44:42 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-03-16 16:44:42 +0100 |
commit | 5ec873b127139ca90cc31967c25c9a34fb4cc3e4 (patch) | |
tree | 45f65638c7c82ef751d30a044bcdb9677be232c8 | |
parent | be60c9ef50bf5fa653138802f63727fa0aadf50a (diff) |
Shorten the test drv name
To prevent the OSX build to fail because of a too long socket path
-rw-r--r-- | flake.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |