about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/geany/with-vte.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/geany/with-vte.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/geany/with-vte.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/geany/with-vte.nix b/nixpkgs/pkgs/applications/editors/geany/with-vte.nix
new file mode 100644
index 000000000000..ece5c95f05ab
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/geany/with-vte.nix
@@ -0,0 +1,24 @@
+{ symlinkJoin
+, makeWrapper
+, geany
+, lndir
+, vte
+}:
+
+symlinkJoin {
+  name = "geany-with-vte-${geany.version}";
+
+  # TODO: add geany-plugins
+  paths = with geany; [ out doc man ];
+
+  nativeBuildInputs = [ makeWrapper ];
+
+  postBuild = ''
+    # need to replace the directory since it is a symlink
+    rm -r $out/bin; mkdir $out/bin
+    makeWrapper ${geany}/bin/geany $out/bin/geany \
+      --prefix LD_LIBRARY_PATH : ${vte}/lib
+  '';
+
+  inherit (geany.meta);
+}