kakoune: remove pkg-config, cleanup preConfigure

This commit is contained in:
Jörg Thalheim
2021-08-31 09:23:15 +02:00
parent b544112862
commit 56feed592e
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config }:
{ lib, stdenv, fetchFromGitHub }:
with lib;
@@ -11,12 +11,10 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "13kc68vkrzg89khir6ayyxgbnmz16dhippcnw09hhzxivf5ayzpy";
};
nativeBuildInputs = [ pkg-config ];
makeFlags = [ "debug=no" ];
makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ];
preConfigure = ''
export version="v${version}"
export PREFIX=$out
'';
enableParallelBuilding = true;