From ca4a4714efd1015e61a33f16b8bc1371fe8c08e1 Mon Sep 17 00:00:00 2001 From: Thomas Strobel Date: Wed, 30 Sep 2015 16:05:54 +0200 Subject: [PATCH] neardal: add 'ncl' and 'demo' application --- pkgs/development/libraries/neardal/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/neardal/default.nix b/pkgs/development/libraries/neardal/default.nix index 8ef5d83c211..23098a46337 100644 --- a/pkgs/development/libraries/neardal/default.nix +++ b/pkgs/development/libraries/neardal/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, pkgconfig, glib, readline }: +{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, pkgconfig, glib, readline, makeWrapper }: stdenv.mkDerivation rec { name = "neardal-0.7-post-git-20150930"; @@ -10,9 +10,11 @@ stdenv.mkDerivation rec { sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g"; }; - buildInputs = [ autoconf automake libtool pkgconfig glib readline ]; + buildInputs = [ autoconf automake libtool pkgconfig glib readline makeWrapper ]; preConfigure = '' + substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS" + substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS" sh autogen.sh '';