3
0
Fork 0
forked from mirrors/nixpkgs

sakura: fixed GLib-GIO-ERROR #21698 #21700

This commit is contained in:
Maurizio Di Pietro 2017-01-06 11:02:05 +01:00
parent ba9803079c
commit 25e34e0bae

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre, glib }:
{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre, glib , makeWrapper }:
stdenv.mkDerivation rec {
name = "sakura-${version}";
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake perl pkgconfig ];
buildInputs = [ gtk3 vte pcre glib ];
buildInputs = [ makeWrapper gtk3 vte pcre glib ];
# Wrapper sets path to gsettings-schemata so sakura knows where to find colorchooser, fontchooser ...
postInstall = "wrapProgram $out/bin/sakura --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/";
meta = with stdenv.lib; {
description = "A terminal emulator based on GTK and VTE";