Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nerdfonts: can be built on hydra? #41987

Closed
wants to merge 1 commit into from

Conversation

jlesquembre
Copy link
Member

Motivation for this change

This is more a question, but I thought I would ask with this PR

nerfonts build on hydra was disabled almost 2 years ago. I have no idea about the Hydra capacity, but I'm hopping that now it is better and it can build nerdfonts again.

The reason to ask for it is that I have an old computer that runs out of disk when I try to build the derivation, so I cannot install it. It would be nice to be able to install it from the cache.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Jun 14, 2018

Personally I switched to just install a single nerdfont I am interested in: https://github.com/Mic92/dotfiles/blob/master/nixpkgs-config/home.nix#L62

@Mic92
Copy link
Member

Mic92 commented Jun 14, 2018

If it does not fit on your disk, how does the cache help you?

@Mic92
Copy link
Member

Mic92 commented Jun 14, 2018

I don't think we have increased the limit from back then on hydra.

@jlesquembre
Copy link
Member Author

Thanks for the tip, I'd try it.
The problem is that I have 4Gb in my /tmp, nerdfonts is ~2Gb zip download and after the download unpacks it, so I run out of space. I was able to build it on another computer, and using a local nix cache I can install it on the old computer.

Anyways, if the hydra capacity is still the same, feel free to close this PR.
Thanks for your answer!

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nerdfonts

Partial log (click to expand)

'/build/source/patched-fonts/Hasklig/Italic/complete/Hasklug Italic Nerd Font Complete.otf' -> '/nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Hasklug Italic Nerd Font Complete.otf'
'/build/source/patched-fonts/Hasklig/Italic/complete/Hasklug Italic Nerd Font Complete Mono.otf' -> '/nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Hasklug Italic Nerd Font Complete Mono.otf'
'/build/source/patched-fonts/Hasklig/Bold/complete/Hasklug Bold Nerd Font Complete Mono.otf' -> '/nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Hasklug Bold Nerd Font Complete Mono.otf'
'/build/source/patched-fonts/Hasklig/Bold/complete/Hasklug Bold Nerd Font Complete.otf' -> '/nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Hasklug Bold Nerd Font Complete.otf'
which: no fc-cache in (/nix/store/4rlf2n76k9fphlkqkia61xlqfj62w21h-patchelf-0.9/bin:/nix/store/km4gkvq70cx0axbgpkvr3w80prdf576f-paxctl-0.9/bin:/nix/store/vhg71q6zx8xbb851kyah0flyjjglapq7-gcc-wrapper-7.3.0/bin:/nix/store/jbifj9j7jpycamc950i898msrxxj876k-gcc-7.3.0/bin:/nix/store/rvfaa3fxhnbafn2mvxx5msqaip3afwx5-glibc-2.27-bin/bin:/nix/store/x6drb9dk0wj88lspd9jm8vdcihb2bnax-coreutils-8.29/bin:/nix/store/yj9p0rmq6phvg5x653zl9f138pm7cnzg-binutils-wrapper-2.30/bin:/nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin:/nix/store/rvfaa3fxhnbafn2mvxx5msqaip3afwx5-glibc-2.27-bin/bin:/nix/store/x6drb9dk0wj88lspd9jm8vdcihb2bnax-coreutils-8.29/bin:/nix/store/q4daccwzqqb8k5wcx45qrbpsl83vbxpc-which-2.21/bin:/nix/store/x6drb9dk0wj88lspd9jm8vdcihb2bnax-coreutils-8.29/bin:/nix/store/1cy338k5r2xmcbp1x4mg19l1mj0bcx7y-findutils-4.6.0/bin:/nix/store/vmq31b85bvpixxfmc7xf7jl0s1fp7f5g-diffutils-3.6/bin:/nix/store/n5gjyzk0v6n3whwp8fhkfkcbvx47nl2l-gnused-4.5/bin:/nix/store/889crh8aaml1p3fcnq74viqy7sbppz2q-gnugrep-3.1/bin:/nix/store/qh1x4rikr2iqzyrn2adbjr1hyb9a7ihj-gawk-4.2.1/bin:/nix/store/fjh974kzdcab7yp0ibmwwymmgbi6cg59-gnutar-1.30/bin:/nix/store/ix32wkg4z56j44q5rdi5hai0r4biap02-gzip-1.9/bin:/nix/store/7vlw1w44q97v48siv18w74i5bsz47a25-bzip2-1.0.6.0.1-bin/bin:/nix/store/vw1kl3v5fr1x10na990xj25iafz4dbv1-gnumake-4.2.1/bin:/nix/store/qckzjk3406va7h6s40cy9s75z2w715rq-bash-4.4-p19/bin:/nix/store/7jlikb5bpak608f04ydg0p1ahwqicp8c-patch-2.7.6/bin:/nix/store/54a2kafnrsrlhlp6jhd93hsvifchdbd0-xz-5.2.4-bin/bin)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
checking for references to /build in /nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0...
/nix/store/dy65w7hmp3h7j9h1kyds05j7qaw01c80-nerdfonts-2.0.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nerdfonts

Partial log (click to expand)

'/build/source/patched-fonts/FiraMono/Medium/complete/Fura Mono Medium Nerd Font Complete.otf' -> '/nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Fura Mono Medium Nerd Font Complete.otf'
'/build/source/patched-fonts/FiraMono/Medium/complete/Fura Mono Medium Nerd Font Complete Mono.otf' -> '/nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Fura Mono Medium Nerd Font Complete Mono.otf'
'/build/source/patched-fonts/FiraMono/Bold/complete/Fura Mono Bold Nerd Font Complete.otf' -> '/nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Fura Mono Bold Nerd Font Complete.otf'
'/build/source/patched-fonts/FiraMono/Bold/complete/Fura Mono Bold Nerd Font Complete Mono.otf' -> '/nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0/share/fonts/truetype/NerdFonts/Fura Mono Bold Nerd Font Complete Mono.otf'
which: no fc-cache in (/nix/store/xbs6a0h09b1zw6ggcsck0lp1spfvdz2g-patchelf-0.9/bin:/nix/store/h8xh5mb8dgl3b14lxz7ig4ygx1i9ri4n-paxctl-0.9/bin:/nix/store/9sh21njz4kmk50jr4gi9sqqprfvh6r9s-gcc-wrapper-7.3.0/bin:/nix/store/8qc19s5ap6n1ddsla975v29kx4s00alb-gcc-7.3.0/bin:/nix/store/sflclv6f3qnbfgcch65ifcxlam1k1akh-glibc-2.27-bin/bin:/nix/store/s8g53fd943rsrnpih79akszwfb2n0r5s-coreutils-8.29/bin:/nix/store/8i2chclkaz1360v59h66lhy8z4h2v7cb-binutils-wrapper-2.30/bin:/nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin:/nix/store/sflclv6f3qnbfgcch65ifcxlam1k1akh-glibc-2.27-bin/bin:/nix/store/s8g53fd943rsrnpih79akszwfb2n0r5s-coreutils-8.29/bin:/nix/store/rzrhi82wpli27jsy6v0cnkccncgnk3r0-which-2.21/bin:/nix/store/s8g53fd943rsrnpih79akszwfb2n0r5s-coreutils-8.29/bin:/nix/store/ik11iw4mmk3mgj6imhgw3j6f7jhhxrhl-findutils-4.6.0/bin:/nix/store/zkk4xxbgsh52hb3plg26ggw0i5fjxwap-diffutils-3.6/bin:/nix/store/16gdyvrb69ch1wmbr8rjv403d1bygkay-gnused-4.5/bin:/nix/store/ps38aqccrfdv0hhshwpv6pa8iva4yrbm-gnugrep-3.1/bin:/nix/store/q1vmav6vjzrnigf3lqgc6b1m3jrc278l-gawk-4.2.1/bin:/nix/store/jkpjc81yhvza4550mxvzz506vqjjkmfs-gnutar-1.30/bin:/nix/store/gahd28hx8qsh4n47hlf9wsfiwkh9b90s-gzip-1.9/bin:/nix/store/888jrflkb8b2zf11y9w1df4fczwx83lz-bzip2-1.0.6.0.1-bin/bin:/nix/store/xz7s9qgha359g0fihy0c2yibvn1qiink-gnumake-4.2.1/bin:/nix/store/9rv2bzx7jz6wjbaxij5qq580qvzksj4i-bash-4.4-p19/bin:/nix/store/5176zv54g7bd0fbh189w23vxc681wl5s-patch-2.7.6/bin:/nix/store/vk62kgkqy0zvssch2rjbcfyf6gx0hw4s-xz-5.2.4-bin/bin)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0
strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
checking for references to /build in /nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0...
/nix/store/v0jaklr0v5kbr6ljnswkm49rc4545f2i-nerdfonts-2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants