mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
24513e08d7
geany-with-vte: inherit meta data from geany
8 lines
353 B
Nix
8 lines
353 B
Nix
{ runCommand, makeWrapper, geany, gnome2 }:
|
|
let name = builtins.replaceStrings ["geany-"] ["geany-with-vte-"] geany.name;
|
|
in
|
|
runCommand "${name}" { nativeBuildInputs = [ makeWrapper ]; inherit (geany.meta); } "
|
|
mkdir -p $out
|
|
ln -s ${geany}/share $out
|
|
makeWrapper ${geany}/bin/geany $out/bin/geany --prefix LD_LIBRARY_PATH : ${gnome2.vte}/lib
|
|
"
|