495
bin or bin?? (lemm.ee)
submitted 3 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 22 points 3 weeks ago

I cleaned my bin.

All that's left is a symlink: sh -> /nix/store/...

[-] [email protected] 2 points 3 weeks ago

Why not just symlink to /usr/bin?

Not familiar with NixOS

[-] [email protected] 13 points 3 weeks ago

NixOS has two main selling points:

  1. I can declaratively manage my system. That'd probably the Thing you know about it.
  2. but it also uses the Nix Package manager which allows you to install multiple versions of the same program. On Ubuntu, if I update bash from v4.6 to 5.0, it will replace /bin/bash and if any breaking changes were made, any program that has bash 4.6 as dependency won't work anymore. On NixOS binaries are stored in /nix/store with a hash. So bash 4.6 is in /nix/store/hwnfuvshajdbgjajebskhak-bash-4.6 and 5.0 gets installed into /nix/store/638jsvusbhsuksvj76hwlsbj-bash-5.0 This allows us to have programs that depend on a old version of a software installed simultaneously with programs that depend on a new version of it.
[-] [email protected] 1 points 1 week ago

That’s fuckin sick.

this post was submitted on 22 Jun 2024
495 points (97.5% liked)

linuxmemes

19849 readers
782 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS