diff options
Diffstat (limited to 'pkgs/by-name/gd/gdlv/package.nix')
-rw-r--r-- | pkgs/by-name/gd/gdlv/package.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/by-name/gd/gdlv/package.nix b/pkgs/by-name/gd/gdlv/package.nix index 27628ae34d6b..3c7900c80a99 100644 --- a/pkgs/by-name/gd/gdlv/package.nix +++ b/pkgs/by-name/gd/gdlv/package.nix @@ -23,12 +23,13 @@ buildGoModule rec { subPackages = "."; preBuild = - lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") + lib.optionalString + (stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") '' export MACOSX_DEPLOYMENT_TARGET=10.15 ''; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit CoreGraphics Foundation |