summary refs log tree commit diff
path: root/pkgs/applications/editors/geany
diff options
context:
space:
mode:
authorJuho Östman <juho.ostman@kapsi.fi>2015-10-05 11:59:16 +0300
committerJuho Östman <juho.ostman@kapsi.fi>2015-10-07 00:17:57 +0300
commit4f8fa82a39ff19e2143f650350ca0fa106e36144 (patch)
treec9f9f0d2de41e0e84907cb5157530f26a5c37c18 /pkgs/applications/editors/geany
parentb79d3c266b277dc51cb72e5f2a13756875e818b5 (diff)
downloadnixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar.gz
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar.bz2
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar.lz
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar.xz
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.tar.zst
nixpkgs-4f8fa82a39ff19e2143f650350ca0fa106e36144.zip
geany: add geany-with-vte to use the terminal
Diffstat (limited to 'pkgs/applications/editors/geany')
-rw-r--r--pkgs/applications/editors/geany/with-vte.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/geany/with-vte.nix b/pkgs/applications/editors/geany/with-vte.nix
new file mode 100644
index 00000000000..ffffed1b853
--- /dev/null
+++ b/pkgs/applications/editors/geany/with-vte.nix
@@ -0,0 +1,6 @@
+{ runCommand, makeWrapper, geany, gnome }:
+let name = builtins.replaceStrings ["geany-"] ["geany-with-vte-"] geany.name;
+in
+runCommand "${name}" { nativeBuildInputs = [ makeWrapper ]; } "
+   makeWrapper ${geany}/bin/geany $out/bin/geany --prefix LD_LIBRARY_PATH : ${gnome.vte}/lib
+"