diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2023-02-10 23:57:30 +0400 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@disroot.org> | 2023-02-10 23:57:30 +0400 |
commit | cc1a23222b1d5bebe62c0b7a1c88eb7e97b789c4 (patch) | |
tree | 16f08a588ffc91a00cb2fd697c246bc0c70994eb /pkgs/applications/editors/cudatext | |
parent | 3d76922d2a2cd3644d9d0585d5fde4c54a2c0722 (diff) |
cudatext: fix gtk2 build
Diffstat (limited to 'pkgs/applications/editors/cudatext')
-rw-r--r-- | pkgs/applications/editors/cudatext/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/editors/cudatext/default.nix b/pkgs/applications/editors/cudatext/default.nix index d34c0adf68b7d..98b280f332de8 100644 --- a/pkgs/applications/editors/cudatext/default.nix +++ b/pkgs/applications/editors/cudatext/default.nix @@ -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 \ |