summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2019-03-11 14:48:34 +0100
committerAndreas Rammhold <andreas@rammhold.de>2019-03-11 14:51:40 +0100
commit48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b (patch)
treef20419819b83665b37ab43220d73387ac4a88f53 /pkgs/development/misc
parent8bb3919ea9988b845223a203e2f2a6854df11068 (diff)
downloadnixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar.gz
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar.bz2
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar.lz
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar.xz
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.tar.zst
nixpkgs-48b9a4a4a516a409dca8da7b9ee6ea983aac0a0b.zip
fix two typos in "substituteInPlace" that should never landed
I am not sure how these two could ever work but at least the typo is
fixed now. They still fail to compile but that is a different issue.
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/stm32/betaflight/default.nix2
-rw-r--r--pkgs/development/misc/stm32/inav/default.nix2
2 files changed, 2 insertions, 2 deletions
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" ""
   '';