From b544112862fa347add65acced4466c3aaa620c7b Mon Sep 17 00:00:00 2001 From: Joshua Trees Date: Mon, 30 Aug 2021 16:38:33 +0200 Subject: [PATCH] kakoune: simplify derivation The dependencies and the sed patch appear to be redundant by now. --- pkgs/applications/editors/kakoune/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix index 45e65efaf5d4..dc91630b5cd2 100644 --- a/pkgs/applications/editors/kakoune/default.nix +++ b/pkgs/applications/editors/kakoune/default.nix @@ -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;