From e69c0be4648c620ad7e50b9ee53b55366d034ada Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Fri, 18 Oct 2024 13:08:37 +0200 Subject: [PATCH] cudatext: fix path to cp --- pkgs/applications/editors/cudatext/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/cudatext/default.nix b/pkgs/applications/editors/cudatext/default.nix index 37b79d9815c3..76c4ec5ce960 100644 --- a/pkgs/applications/editors/cudatext/default.nix +++ b/pkgs/applications/editors/cudatext/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, coreutils , lazarus , fpc , libX11 @@ -53,6 +54,8 @@ stdenv.mkDerivation rec { substituteInPlace app/proc_globdata.pas \ --subst-var out \ --subst-var-by python3 ${python3} + substituteInPlace app/proc_editor_saving.pas \ + --replace-fail '/bin/cp' "${coreutils}/bin/cp" ''; nativeBuildInputs = [ lazarus fpc ]