3
0
Fork 0
forked from mirrors/nixpkgs

kakoune: simplify derivation

The dependencies and the sed patch appear to be redundant by now.
This commit is contained in:
Joshua Trees 2021-08-30 16:38:33 +02:00
parent a461d064cb
commit b544112862

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, asciidoc, docbook_xsl, libxslt, pkg-config }:
{ lib, stdenv, fetchFromGitHub, pkg-config }:
with lib;
@ -12,17 +12,11 @@ stdenv.mkDerivation rec {
sha256 = "13kc68vkrzg89khir6ayyxgbnmz16dhippcnw09hhzxivf5ayzpy";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ asciidoc docbook_xsl libxslt ];
makeFlags = [ "debug=no" ];
postPatch = ''
export PREFIX=$out
cd src
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' Makefile
'';
preConfigure = ''
export version="v${version}"
export PREFIX=$out
'';
enableParallelBuilding = true;