parent
73c8797d16
commit
15bb499df9
|
@ -3,25 +3,20 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kakoune-nightly-${version}";
|
name = "kakoune-unstable-${version}";
|
||||||
version = "2017-02-09";
|
version = "2017-04-12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "kakoune";
|
repo = "kakoune";
|
||||||
owner = "mawww";
|
owner = "mawww";
|
||||||
rev = "9ba1665e58ee84b6596d89e6ef75f7c32e7c6c14";
|
rev = "7482d117cc85523e840dff595134dcb9cdc62207";
|
||||||
sha256 = "1l25mzq64a481qlsyh25rzp5rzajrkx4dq29677z85lnjqn30wbi";
|
sha256 = "08j611y192n9vln9i94ldlvz3k0sg79dkmfc0b1vczrmaxhpgpfh";
|
||||||
};
|
};
|
||||||
buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ];
|
buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ];
|
||||||
|
|
||||||
buildPhase = ''
|
postPatch = ''
|
||||||
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' src/Makefile
|
|
||||||
substituteInPlace src/Makefile --replace "boost_regex-mt" "boost_regex"
|
|
||||||
export PREFIX=$out
|
export PREFIX=$out
|
||||||
(cd src && make )
|
cd src
|
||||||
'';
|
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' Makefile
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
(cd src && make install)
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue