vinceliuice / Canta-theme

Canta is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc.
GNU General Public License v2.0
657 stars 54 forks source link

Failing to install GDM theme #92

Open romildo opened 4 years ago

romildo commented 4 years ago

I have packaged this theme for NixOS. Now I would like to enable the GDM theme, but it fails with the error message:

ERROR: Failed to install '/usr/share/gnome-shell/gnome-shell-theme.gresource'

In the package derivation the install script is called with this command line:

    name= ./install.sh --icon --gdm --dest $out/share/themes

It seems that the problem is with the following command executed by the install script.

 [[ -f /usr/share/gnome-shell/gnome-shell-theme.gresource ]]

It does not look right. Is this file expected to be already installed in order to install the GDM theme?