3
0
Fork 0
forked from mirrors/nixpkgs

gitkraken: refactor wrapGAppsHook

This commit is contained in:
Meghea Iulian 2019-02-20 20:49:41 +02:00
parent e53f68800b
commit 7022210b31

View file

@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
buildInputs = [ dpkg gtk3 gnome3.defaultIconTheme hicolor-icon-theme ];
buildInputs = [ dpkg gtk3 gnome3.adwaita-icon-theme hicolor-icon-theme ];
unpackCmd = ''
mkdir out
@ -87,12 +87,9 @@ stdenv.mkDerivation rec {
popd
ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
# makeWrapper $out/share/gitkraken/gitkraken $out/bin/gitkraken \
# --prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH
'';
postFixup = ''
wrapGAppsHook
pushd $out/share/gitkraken
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" gitkraken