From d800b42dec422dcf09f908f2065ef310e5fb38b4 Mon Sep 17 00:00:00 2001 From: Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> Date: Fri, 24 Sep 2021 17:01:25 +0800 Subject: [PATCH] udunits: meta.platforms = lib.platforms.all Relax the platform constrain, since it seems not a platform-specific and Homebrew have it in their package set Specify meta.mainProgram --- pkgs/development/libraries/udunits/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/udunits/default.nix b/pkgs/development/libraries/udunits/default.nix index b8ea203ef176..17efccce82a9 100644 --- a/pkgs/development/libraries/udunits/default.nix +++ b/pkgs/development/libraries/udunits/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { ''; license = licenses.asl20; maintainers = with maintainers; [ AndersonTorres pSub ]; - platforms = platforms.linux; + platforms = platforms.all; + mainProgram = "udunits2"; }; }