From 5fb2fc73dbc16b052dcc3e7fb59fa631f325a45f Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Fri, 20 Jan 2017 14:08:25 +1300 Subject: [PATCH 1/2] newsbeuter: podbeuter can download without segfaulting --- .../networking/feedreaders/newsbeuter/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix index d2c1a2aeb073..9cb427597345 100644 --- a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix +++ b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix @@ -27,6 +27,10 @@ stdenv.mkDerivation rec { url = "https://github.com/akrennmair/newsbeuter/commit/cdacfbde9fe3ae2489fc96d35dfb7d263ab03f50.patch"; sha256 = "1lhvn63cqjpikwsr6zzndb1p5y140vvphlg85fazwx4xpzd856d9"; }) + (fetchpatch { + url = "https://github.com/akrennmair/newsbeuter/commit/33577f842d9b74c119f3cebda95ef8652304db81.patch"; + sha256 = "1kwhp6k14gk1hclgsr9w47qg7hs60p23zsl6f6vw13mczp2naqlb"; + }) ]; installFlags = [ "DESTDIR=$(out)" "prefix=" ]; From 489c593b6839e9678d4432161a07e7dee89dc41d Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Fri, 20 Jan 2017 14:09:16 +1300 Subject: [PATCH 2/2] newsbeuter: darwin build working and enabled --- .../networking/feedreaders/newsbeuter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix index 9cb427597345..e570a6e7c10e 100644 --- a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix +++ b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { installFlags = [ "DESTDIR=$(out)" "prefix=" ]; - installPhase = stdenv.lib.optionalString stdenv.isDarwin '' + postInstall = stdenv.lib.optionalString stdenv.isDarwin '' for prog in $out/bin/*; do wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib" done @@ -46,6 +46,6 @@ stdenv.mkDerivation rec { description = "An open-source RSS/Atom feed reader for text terminals"; maintainers = with stdenv.lib.maintainers; [ lovek323 ]; license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; }; }