From 7e64123abd8fb23c5642e969f568b3794d8d9451 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Thu, 5 May 2022 17:31:41 -0700 Subject: [PATCH] docker-credential-helpers: add meta.mainProgram for darwin --- pkgs/tools/admin/docker-credential-helpers/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/admin/docker-credential-helpers/default.nix b/pkgs/tools/admin/docker-credential-helpers/default.nix index 0d46eff98b51..c32c8834f8dc 100644 --- a/pkgs/tools/admin/docker-credential-helpers/default.nix +++ b/pkgs/tools/admin/docker-credential-helpers/default.nix @@ -45,5 +45,7 @@ buildGoPackage rec { license = licenses.mit; maintainers = [ maintainers.marsam ]; platforms = platforms.linux ++ platforms.darwin; + } // lib.optionalAttrs stdenv.isDarwin { + mainProgram = "docker-credential-osxkeychain"; }; }