From 061462aef95dcdbc33391b571ffa1f90768744e1 Mon Sep 17 00:00:00 2001 From: "Jason \\\"Don\\\" O'Conal" Date: Thu, 4 Jul 2013 04:06:39 +0200 Subject: [PATCH] newsbeuter: fix perl shebang --- .../networking/feedreaders/newsbeuter/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix index db29c4f22ea0..3bca5cc91da1 100644 --- a/pkgs/applications/networking/feedreaders/newsbeuter/default.nix +++ b/pkgs/applications/networking/feedreaders/newsbeuter/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, sqlite, curl, pkgconfig, libxml2, stfl, json_c, ncurses -, gettext, libiconvOrEmpty, makeWrapper }: +, gettext, libiconvOrEmpty, makeWrapper, perl }: stdenv.mkDerivation rec { name = "newsbeuter-2.6"; @@ -12,12 +12,13 @@ stdenv.mkDerivation rec { buildInputs # use gettext instead of libintlOrEmpty so we have access to the msgfmt # command - = [ pkgconfig sqlite curl libxml2 stfl json_c ncurses gettext ] + = [ pkgconfig sqlite curl libxml2 stfl json_c ncurses gettext perl ] ++ libiconvOrEmpty ++ stdenv.lib.optional stdenv.isDarwin makeWrapper; preBuild = '' sed -i -e 104,108d config.sh + sed -i "1 s%^.*$%#!${perl}/bin/perl%" txt2h.pl export LDFLAGS=-lncursesw '';