mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
gitkraken: refactor wrapGAppsHook
This commit is contained in:
parent
e53f68800b
commit
7022210b31
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user