• sntx@lemm.ee
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    8 days ago

    I cleaned my bin.

    All that’s left is a symlink: sh -> /nix/store/…

      • 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.
    • Xirup@yiffit.net
      link
      fedilink
      arrow-up
      57
      ·
      8 days ago

      The joke is about the bin/ directory on Linux, which contains the binaries of the system (also called executables) which can break the system if you delete it, and also refer to the paper bin where all your trash files go and people tend to delete usually.

      • lolcatnip@reddthat.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        7 days ago

        Surely it should be “cleaned the bin”, right? Dialect issues complicate things but the basic problem seems to be that the joke is just ungrammatical.

        • Zangoose@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          7 days ago

          Could also be referring to something like ~/.local/bin, where you remove unnecessary user-only programs vs. /use/bin where you remove system essential ones.