Use substituteInPlace instead of calling sed

This commit is contained in:
Erlend Hamberg 2022-08-24 21:54:09 +02:00
parent 682e6b0f9e
commit bbe876ee06
No known key found for this signature in database
GPG key ID: 839A1C97961D54B3

View file

@ -12,7 +12,9 @@ let
configurePhase = "true";
});
redbug = super.redbug.overrideAttrs (_: {
patchPhase = "sed -i 's/, warnings_as_errors//' rebar.config";
patchPhase = ''
substituteInPlace rebar.config --replace ", warnings_as_errors" ""
'';
});
});
};