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 ]