ktlint: add gnused to the script's path
As of ktlint 0.44.0, the startup script makes use of `sed`, if the latter is not available in the path, the program fails silently.
f72be11d21
This commit is contained in:
parent
422cb36985
commit
80eaa7f2a3
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, jre_headless }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, jre_headless, gnused }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ktlint";
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/ktlint --prefix PATH : "${jre_headless}/bin"
|
||||
wrapProgram $out/bin/ktlint --prefix PATH : "${lib.makeBinPath [ jre_headless gnused ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue