cudatext: fix path to cp

This commit is contained in:
FliegendeWurst 2024-10-18 13:08:37 +02:00
parent 1d7922b778
commit e69c0be464

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, coreutils
, lazarus , lazarus
, fpc , fpc
, libX11 , libX11
@ -53,6 +54,8 @@ stdenv.mkDerivation rec {
substituteInPlace app/proc_globdata.pas \ substituteInPlace app/proc_globdata.pas \
--subst-var out \ --subst-var out \
--subst-var-by python3 ${python3} --subst-var-by python3 ${python3}
substituteInPlace app/proc_editor_saving.pas \
--replace-fail '/bin/cp' "${coreutils}/bin/cp"
''; '';
nativeBuildInputs = [ lazarus fpc ] nativeBuildInputs = [ lazarus fpc ]