about summary refs log tree commit diff
path: root/pkgs/applications/editors/kakoune/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/kakoune/default.nix')
-rw-r--r--pkgs/applications/editors/kakoune/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix
index 45e65efaf5d4f..dc91630b5cd2d 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;