From 0b3a807a63c3ff3e8743854098ce0ca2331b6076 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 2 Feb 2025 11:51:36 +0700 Subject: [PATCH] cosmic-edit: Prefer --replace-fail for substituteInPlace --- pkgs/by-name/co/cosmic-edit/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/co/cosmic-edit/package.nix b/pkgs/by-name/co/cosmic-edit/package.nix index ea87434200eb..6352e94547da 100644 --- a/pkgs/by-name/co/cosmic-edit/package.nix +++ b/pkgs/by-name/co/cosmic-edit/package.nix @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { env.VERGEN_GIT_SHA = src.rev; postPatch = '' - substituteInPlace justfile --replace '#!/usr/bin/env' "#!$(command -v env)" + substituteInPlace justfile --replace-fail '#!/usr/bin/env' "#!$(command -v env)" ''; nativeBuildInputs = [