• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    6
    ·
    edit-2
    21 days 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
      15
      arrow-down
      1
      ·
      21 days 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@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        6
        ·
        20 days 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.