1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

numix-icon-theme, numix-icon-theme-circle: Use commit date as version.

Use git commit date as version number.
Install to $out/share/icons instead of $out/usr/share/icons.
This commit is contained in:
宋文武 2015-03-05 15:41:38 +08:00
parent e8dd8ac456
commit 17479728ec
2 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
package-name = "numix-icon-theme-circle";
name = "${package-name}-${version}";
name = "${package-name}-20150304";
buildInputs = [ unzip ];
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
install -dm 755 $out/usr/share/icons
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/usr/share/icons/
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
'';
meta = {

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
package-name = "numix-icon-theme";
name = "${package-name}-${version}";
name = "${package-name}-20150302";
buildInputs = [ unzip ];
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
install -dm 755 $out/usr/share/icons
cp -dr --no-preserve='ownership' Numix{,-Light} $out/usr/share/icons/
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
'';
meta = {