• masterspace
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    7
    ·
    edit-2
    3 months ago

    Each package and its dependencies are stored in their own unique folder

    If all those electron / web app haters could read, they’d be very upset right now.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      3 months ago

      This is completely different from electron. Nix dependencies will be shared if they share the same hash. Electron just blindly copies everything over every time.

      • masterspace
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        6
        ·
        3 months ago

        Electron just copies over the browser engine required to run it, from a package management standpoint, assuming you’re using nom or yarn, it functions the same as nix.