From 59959d0ae7f6172eb986d3882f4ffd41b95c392a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 11 Mar 2024 12:27:15 +0100 Subject: [PATCH] arduino-cli: fix deprecation warning for substituteInPlace --replace --- pkgs/development/embedded/arduino/arduino-cli/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/embedded/arduino/arduino-cli/default.nix b/pkgs/development/embedded/arduino/arduino-cli/default.nix index f1cba0cd975f..2f0ce3e133ed 100644 --- a/pkgs/development/embedded/arduino/arduino-cli/default.nix +++ b/pkgs/development/embedded/arduino/arduino-cli/default.nix @@ -38,7 +38,7 @@ let ]; in '' substituteInPlace Taskfile.yml \ - --replace "go test" "go test -p $NIX_BUILD_CORES -skip '(${lib.concatStringsSep "|" skipTests})'" + --replace-fail "go test" "go test -p $NIX_BUILD_CORES -skip '(${lib.concatStringsSep "|" skipTests})'" ''; doCheck = stdenv.isLinux;