From f2da14933fe5c29a332d4dfd0e345981169e7b2c Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 23 Sep 2024 18:44:38 +0200 Subject: [PATCH] newsboat: 2.36 -> 2.37 --- pkgs/by-name/ne/newsboat/package.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ne/newsboat/package.nix b/pkgs/by-name/ne/newsboat/package.nix index fcdcc8d4cc36..5c6bfcfd8852 100644 --- a/pkgs/by-name/ne/newsboat/package.nix +++ b/pkgs/by-name/ne/newsboat/package.nix @@ -20,16 +20,16 @@ rustPlatform.buildRustPackage rec { pname = "newsboat"; - version = "2.36"; + version = "2.37"; src = fetchFromGitHub { owner = "newsboat"; repo = "newsboat"; rev = "r${version}"; - hash = "sha256-RnDnyRAZ71aE5st5wUcUKjFFGY288oFpiyDXAno15MQ="; + hash = "sha256-RNvzGGvicujqkRWVHBwnlROuhpH5XqPNWmx6q7n4g+U="; }; - cargoHash = "sha256-0z3G8j0Qk0HEDUKA7fmjFfNW956rRtzKO+0ltNQR4es="; + cargoHash = "sha256-EBA+ucegXr3YtU2K7bhwli8O+knnugMMUuSksDuaY9E="; # TODO: Check if that's still needed postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' @@ -85,25 +85,15 @@ rustPlatform.buildRustPackage rec { make -j $NIX_BUILD_CORES test ''; -<<<<<<< HEAD - postInstall = '' - make -j $NIX_BUILD_CORES prefix="$out" install - '' + lib.optionalString stdenv.hostPlatform.isDarwin '' - for prog in $out/bin/*; do - wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib" - done - ''; -======= postInstall = '' make -j $NIX_BUILD_CORES prefix="$out" install '' - + lib.optionalString stdenv.isDarwin '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' for prog in $out/bin/*; do wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib" done ''; ->>>>>>> f6bae49a470c (newsboat: reformat unix nixfmt-rfc-style) passthru = { updateScript = nix-update-script { };