From 5094b5f659430f6b9ae7a1818856ee9139fb526c Mon Sep 17 00:00:00 2001 From: Mario Hros Date: Fri, 3 Feb 2023 21:57:20 +0100 Subject: [PATCH] diffuse: macos support --- pkgs/applications/misc/diffuse/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/diffuse/default.nix b/pkgs/applications/misc/diffuse/default.nix index fa6825bf9d62..866ed16d44bd 100644 --- a/pkgs/applications/misc/diffuse/default.nix +++ b/pkgs/applications/misc/diffuse/default.nix @@ -45,6 +45,11 @@ python3.pkgs.buildPythonApplication rec { pygobject3 ]; + preConfigure = '' + # app bundle for macos + substituteInPlace src/diffuse/meson.build data/icons/meson.build --replace "/Applications" "$out/Applications"; + ''; + mesonFlags = [ "-Db_ndebug=true" ]; @@ -63,6 +68,6 @@ python3.pkgs.buildPythonApplication rec { description = "Graphical tool for merging and comparing text files"; license = licenses.gpl2; maintainers = with maintainers; [ k3a ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }