cudatext: fix path to cp (#349512)

This commit is contained in:
Nikolay Korotkiy 2024-10-18 23:03:17 +04:00 committed by GitHub
commit c11ff943a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ]