zstxtns-utils: don't put runtime deps into buildInputs

This commit is contained in:
zseri 2021-03-23 13:16:19 +01:00
parent 2c93f270cd
commit bfa344e273
No known key found for this signature in database
GPG Key ID: 229E63AE5644A96D

View File

@ -1,5 +1,4 @@
{ bash
, coreutils
{ coreutils
, fetchurl
, gnugrep
, lib
@ -18,7 +17,6 @@ stdenvNoCC.mkDerivation rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash coreutils gnugrep moreutils ];
installPhase = ''
runHook preInstall
@ -27,8 +25,8 @@ stdenvNoCC.mkDerivation rec {
'';
postInstall = ''
wrapProgram $out/bin/zstxtns-merge --prefix PATH ":" "${lib.makeBinPath [coreutils gnugrep moreutils]}"
wrapProgram $out/bin/zstxtns-unmerge --prefix PATH ":" "${lib.makeBinPath [coreutils gnugrep]}"
wrapProgram $out/bin/zstxtns-merge --set PATH "${lib.makeBinPath [coreutils gnugrep moreutils]}"
wrapProgram $out/bin/zstxtns-unmerge --set PATH "${lib.makeBinPath [coreutils gnugrep]}"
'';
meta = with lib; {