From 7cde3a69cd7be4f7da74e790ced3dd7ac31eaa5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 15 Nov 2010 19:39:11 +0000 Subject: [PATCH] Updating the libedit build so it works fine with wide chars. svn path=/nixpkgs/branches/stdenv-updates/; revision=24693 --- pkgs/development/libraries/libedit/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libedit/default.nix b/pkgs/development/libraries/libedit/default.nix index 2121449af5ac..fb45563a1793 100644 --- a/pkgs/development/libraries/libedit/default.nix +++ b/pkgs/development/libraries/libedit/default.nix @@ -1,17 +1,19 @@ { stdenv, fetchurl, ncurses}: stdenv.mkDerivation rec { - name = "libedit-20090923-3.0"; + name = "libedit-20100424-3.0"; src = fetchurl { url = "http://www.thrysoee.dk/editline/${name}.tar.gz"; - sha256 = "02j66qbd1c9wfghpjb8dzshkcj4i0n9xanxy81552j3is9ilxjka"; + sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0"; }; postInstall = '' - sed -i s/-lcurses/-lncurses/g $out/lib/pkgconfig/libedit.pc + sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc ''; + configureFlags = "--enable-widec"; + propagatedBuildInputs = [ ncurses ]; meta = {