diff --git a/pkgs/development/libraries/dbus-sharp/default.nix b/pkgs/development/libraries/dbus-sharp/default.nix index 40c633dda523c..855dd9f3832ef 100644 --- a/pkgs/development/libraries/dbus-sharp/default.nix +++ b/pkgs/development/libraries/dbus-sharp/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchFromGitHub, pkgconfig, mono, autoreconfHook }: +{stdenv, fetchFromGitHub, pkgconfig, mono48, autoreconfHook }: stdenv.mkDerivation rec { name = "dbus-sharp-${version}"; @@ -13,7 +13,10 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig autoreconfHook ]; - buildInputs = [ mono ]; + + # Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged + # See: https://github.com/NixOS/nixpkgs/pull/46060 + buildInputs = [ mono48 ]; dontStrip = true;