• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    8
    ·
    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
      17
      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@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        5
        ·
        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.