zstxtns-utils: don't put runtime deps into buildInputs
This commit is contained in:
parent
2c93f270cd
commit
bfa344e273
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user