From 4f8fa82a39ff19e2143f650350ca0fa106e36144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20=C3=96stman?= Date: Mon, 5 Oct 2015 11:59:16 +0300 Subject: [PATCH] geany: add geany-with-vte to use the terminal --- pkgs/applications/editors/geany/with-vte.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 7 insertions(+) create mode 100644 pkgs/applications/editors/geany/with-vte.nix diff --git a/pkgs/applications/editors/geany/with-vte.nix b/pkgs/applications/editors/geany/with-vte.nix new file mode 100644 index 000000000000..ffffed1b8532 --- /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 +" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c642dc00244c..25e45e020f4b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11374,6 +11374,7 @@ let fvwm = callPackage ../applications/window-managers/fvwm { }; geany = callPackage ../applications/editors/geany { }; + geany-with-vte = callPackage ../applications/editors/geany/with-vte.nix { }; gksu = callPackage ../applications/misc/gksu { };