cudatext: fix gtk2 build
This commit is contained in:
parent
3d76922d2a
commit
cc1a23222b
@ -66,8 +66,12 @@ stdenv.mkDerivation rec {
|
||||
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
|
||||
|
||||
buildPhase = lib.concatStringsSep "\n" (lib.mapAttrsToList (name: dep: ''
|
||||
ln -s ${dep} ${name}
|
||||
cp -r ${dep} ${name}
|
||||
'') deps) + ''
|
||||
# See https://wiki.freepascal.org/CudaText#How_to_compile_CudaText
|
||||
substituteInPlace ATSynEdit/atsynedit/atsynedit_package.lpk \
|
||||
--replace GTK2_IME_CODE _GTK2_IME_CODE
|
||||
|
||||
lazbuild --lazarusdir=${lazarus}/share/lazarus --pcp=./lazarus --ws=${widgetset} \
|
||||
bgrabitmap/bgrabitmap/bgrabitmappack.lpk \
|
||||
EncConv/encconv/encconv_package.lpk \
|
||||
|
Loading…
Reference in New Issue
Block a user