Ancestors

Toot

Written by Laser@feddit.org on 2024-11-26 at 21:03

NixOS changes as of today

https://feddit.org/post/5123083

=> More informations about this toot | More toots from Laser@feddit.org

Descendants

Written by iamkexo@programming.dev on 2024-11-26 at 21:25

First of all, thank you for the informative post. I have been using nixos unstable for some time now but I have never heard of unstable-small, could you give a brief explanation?

p.s: The new changes to the nerdfonts packages are really useful for me I’m glad to known beforehand.

=> More informations about this toot | More toots from iamkexo@programming.dev

Written by Laser@feddit.org on 2024-11-26 at 21:41

nixos-unstable{,-small} are both rolling NixOS channels. The difference between them are the requirements for updates. Both need a specific set of packages to build successful and pass the tests on hydra, the central build server. The jobset for nixos-unstable is hydra.nixos.org/jobset/nixos/trunk-combined if I’m not mistaken; nixos-unstable-small is hydra.nixos.org/jobset/nixos/unstable-small. Small, as the name implies, has a smaller jobset.

That’s also the reason I had to rebuild so many packages: while unstable provides most (I think all redistributable ones), nixos-unstable-small only builds a subset of packages like the kernel, coreutils etc (I don’t actually know what constitutes it exactly); and the packages it didn’t build, you can’t download, which means if you have others installed, you need to build them yourself. It happen automatically, NixOS is a source-based distribution after all and binary packages are just substitutions, but this was a bit of a pitfall.

=> More informations about this toot | More toots from Laser@feddit.org

Written by iamkexo@programming.dev on 2024-11-26 at 22:00

Oh wow, thank you for the detailed explanation. For me using the usual nixos-unstable makes much more sense as I don’t need the most up to date packages as soon as they are released, and I am more than willing to wait for the hydra central server to compile the packages and for me to just download the cached binaries(my computer is not very fast, honestly).

I did not think about using nix repl to get the new nerd-fonts package names, but the ones I was using apparently had no changes naming-wise, so I had no problems.

=> More informations about this toot | More toots from iamkexo@programming.dev

Written by Laser@feddit.org on 2024-11-26 at 22:07

You will only see the changes after your has been updated (which for you is still the nixpkgs state of a week ago), so not right now. Or maybe this option was always there? I don’t know and I’m tired. Anyhow, when unstable gets updated and your evaluation complains not finding the package, you know where to look ;)

=> More informations about this toot | More toots from Laser@feddit.org

Written by Corngood@lemmy.ml on 2024-11-26 at 23:16

I’m surprised that they renamed a package without adding an alias? Unless it was already an alias that had been around for a while, or maybe you have aliases disabled?

=> More informations about this toot | More toots from Corngood@lemmy.ml

Written by Laser@feddit.org on 2024-11-27 at 07:06

No, it doesn’t have an alias. From github.com/NixOS/nixpkgs/blob/…/aliases.nix#L855

It would also only make limited sense because the package definition has changed so that aliasing nerdfonts to nerd-fonts would still break if you chose individual fonts.

=> More informations about this toot | More toots from Laser@feddit.org

Written by mvirts@lemmy.world on 2024-11-27 at 07:35

Aliasing seems to already be out of hand, maybe it’s for the best we feel the pain.

=> More informations about this toot | More toots from mvirts@lemmy.world

Written by flashgnash@lemm.ee on 2024-11-27 at 12:27

If I understand correctly there’s not much pain, just adding one character

Better than the alias causing an issue or getting g removed later down the line

=> More informations about this toot | More toots from flashgnash@lemm.ee

Written by Laser@feddit.org on 2024-11-27 at 13:54

It’s not only adding one character, which is also probably why this doesn’t have a proper alias. Before, it was a single package providing multiple fonts; now, it’s an attribute set providing multiple packages, providing one font each, with the name changed from before (in my case “Source Code Pro” became “sauce-code-pro”)

=> More informations about this toot | More toots from Laser@feddit.org

Written by flashgnash@lemm.ee on 2024-11-27 at 21:49

Ah right I see I thought it was just a rename

=> More informations about this toot | More toots from flashgnash@lemm.ee

Written by arf@lemmy.today on 2024-11-27 at 12:51

Thank you for explaining the Retroarch change. I searched the nixpkgs repo this morning and saw the changes, but didn’t have enough time to figure out how to change my config. This saves me a bunch of time 🙏

=> More informations about this toot | More toots from arf@lemmy.today

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113551277408469216
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
297.213504 milliseconds
Gemini-to-HTML Time
4.133274 milliseconds

This content has been proxied by September (3851b).