forked from mirrors/nixpkgs
kakoune: simplify derivation
The dependencies and the sed patch appear to be redundant by now.
This commit is contained in:
parent
a461d064cb
commit
b544112862
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, asciidoc, docbook_xsl, libxslt, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -12,17 +12,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "13kc68vkrzg89khir6ayyxgbnmz16dhippcnw09hhzxivf5ayzpy";
|
sha256 = "13kc68vkrzg89khir6ayyxgbnmz16dhippcnw09hhzxivf5ayzpy";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ asciidoc docbook_xsl libxslt ];
|
|
||||||
makeFlags = [ "debug=no" ];
|
makeFlags = [ "debug=no" ];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
export PREFIX=$out
|
|
||||||
cd src
|
|
||||||
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export version="v${version}"
|
export version="v${version}"
|
||||||
|
export PREFIX=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue