go-font: avoid .gitignore and .gitattributes in output
These were previously left over in $out, as they weren't matched by `$out/*`.
This commit is contained in:
parent
fde061b182
commit
026f99d83d
|
@ -8,14 +8,16 @@ in (fetchgit {
|
||||||
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
|
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mv $out/* .
|
mv $out source
|
||||||
|
cd source
|
||||||
|
|
||||||
mkdir -p $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/truetype
|
||||||
mkdir -p $out/share/doc/go-font
|
mkdir -p $out/share/doc/go-font
|
||||||
cp font/gofont/ttfs/* $out/share/fonts/truetype
|
cp font/gofont/ttfs/* $out/share/fonts/truetype
|
||||||
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
|
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "dteUL/4ZUq3ybL6HaLYqu2Tslx3q8VvELIY3tVC+ODo=";
|
sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x";
|
||||||
}) // {
|
}) // {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://blog.golang.org/go-fonts";
|
homepage = "https://blog.golang.org/go-fonts";
|
||||||
|
|
Loading…
Reference in a new issue