From b50862fe8da5c254d84ebaa54e316fd3482e207d Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 3 Oct 2025 01:30:54 +0400 Subject: [PATCH] saga: fix darwin build --- pkgs/by-name/sa/saga/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/sa/saga/package.nix b/pkgs/by-name/sa/saga/package.nix index 4cea74a97fa2..8b02cd52a896 100644 --- a/pkgs/by-name/sa/saga/package.nix +++ b/pkgs/by-name/sa/saga/package.nix @@ -5,6 +5,7 @@ # native cmake, desktopToDarwinBundle, + dos2unix, pkg-config, wrapGAppsHook3, # not native @@ -42,8 +43,13 @@ stdenv.mkDerivation rec { sourceRoot = "saga-${version}/saga-gis"; + postPatch = '' + dos2unix src/saga_core/saga_gui/res/org.saga_gis.saga_gui.desktop + ''; + nativeBuildInputs = [ cmake + dos2unix wrapGAppsHook3 pkg-config ]