Updating the libedit build so it works fine with wide chars.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24693
This commit is contained in:
parent
10306f1b4c
commit
7cde3a69cd
@ -1,17 +1,19 @@
|
|||||||
{ stdenv, fetchurl, ncurses}:
|
{ stdenv, fetchurl, ncurses}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libedit-20090923-3.0";
|
name = "libedit-20100424-3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
|
url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
|
||||||
sha256 = "02j66qbd1c9wfghpjb8dzshkcj4i0n9xanxy81552j3is9ilxjka";
|
sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
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 ];
|
propagatedBuildInputs = [ ncurses ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user