about summary refs log tree commit diff
path: root/pkgs/applications/editors/kakoune
diff options
context:
space:
mode:
authorJoshua Trees <me@jtrees.io>2021-08-30 16:38:33 +0200
committerJoshua Trees <me@jtrees.io>2021-08-30 16:40:23 +0200
commitb544112862fa347add65acced4466c3aaa620c7b (patch)
tree37b55d46867ca7ec40e5c7551d31fe4ccd2ae341 /pkgs/applications/editors/kakoune
parenta461d064cbfdcd69d8c904faf0e4e62f279e51b9 (diff)
kakoune: simplify derivation
The dependencies and the sed patch appear to be redundant by now.
Diffstat (limited to 'pkgs/applications/editors/kakoune')
-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;