mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
materia-theme: unset $name in install script
- install.sh uses a global environment variable called $name, if defined, to name the theme. This is an issue because nix sets this variable to the package name. - Replace gnome-themes-standard to gnome-themes-extra.
This commit is contained in:
parent
8e7f0bc862
commit
70ef1faa25
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ gnome3.glib libxml2 bc ];
|
||||
|
||||
buildInputs = [ gnome3.gnome-themes-standard gdk_pixbuf librsvg ];
|
||||
buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
|
@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
|
|||
-e "s|if .*which gnome-shell.*;|if true;|" \
|
||||
-e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${gnome3.version}|"
|
||||
mkdir -p $out/share/themes
|
||||
./install.sh --dest $out/share/themes
|
||||
# name is used internally by the package installation script
|
||||
name= ./install.sh --dest $out/share/themes
|
||||
rm $out/share/themes/*/COPYING
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue