mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
gnome3_22.gnome-terminal: substitute gnome-shell dbus file path
instead of copying the file. this avoids name conflicts after the build. Alternatively we could remove the file after building.
This commit is contained in:
parent
e8ade4ff78
commit
76fa7d1c39
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Silly ./configure, it looks for dbus file from gnome-shell in the
|
||||
# installation tree of the package it is configuring.
|
||||
preConfigure = ''
|
||||
mkdir -p "$out/share/dbus-1/interfaces"
|
||||
cp "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml" "$out/share/dbus-1/interfaces"
|
||||
postPatch = ''
|
||||
substituteInPlace configure --replace '$(eval echo $(eval echo $(eval echo ''${dbusinterfacedir})))/org.gnome.ShellSearchProvider2.xml' "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml"
|
||||
substituteInPlace src/Makefile.in --replace '$(dbusinterfacedir)/org.gnome.ShellSearchProvider2.xml' "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml"
|
||||
'';
|
||||
|
||||
# FIXME: enable for gnome3
|
||||
|
Loading…
Reference in New Issue
Block a user