forked from mirrors/nixpkgs
Use substituteInPlace
instead of calling sed
This commit is contained in:
parent
682e6b0f9e
commit
bbe876ee06
|
@ -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" ""
|
||||
'';
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue