diff --git a/pkgs/development/misc/stm32/betaflight/default.nix b/pkgs/development/misc/stm32/betaflight/default.nix index fbe48803f2d..e66bb6fe211 100644 --- a/pkgs/development/misc/stm32/betaflight/default.nix +++ b/pkgs/development/misc/stm32/betaflight/default.nix @@ -33,7 +33,7 @@ in stdenv.mkDerivation rec { sed -ri "s/REVISION.*=.*git log.*/REVISION = ${builtins.substring 0 10 src.rev}/" Makefile # Simulate abbrev'd rev. sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex - substitutateInPlace Makefile \ + substituteInPlace Makefile \ --replace "--specs=nano.specs" "" ''; diff --git a/pkgs/development/misc/stm32/inav/default.nix b/pkgs/development/misc/stm32/inav/default.nix index 102b1eb8048..683883ddbce 100644 --- a/pkgs/development/misc/stm32/inav/default.nix +++ b/pkgs/development/misc/stm32/inav/default.nix @@ -27,7 +27,7 @@ in stdenv.mkDerivation rec { sed -ri "s/-j *[0-9]+//" Makefile # Eliminate parallel build args in submakes sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex - substitutateInPlace Makefile \ + substituteInPlace Makefile \ --replace "--specs=nano.specs" "" '';