Some folks on the internet were interested in how I had managed to ditch Docker for local development. This is a slightly overdue write up on how I typically do things now with Nix, Overmind and Just.

  • gdrhnvfhj
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 years ago

    Try to develop on a system that just has node16 3 different projects at the same time that each require different node versions. Nix rocks.

      • gdrhnvfhj
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        And now these need different GCC compilers. And building should be easy and reproducible.

        • sip@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          2 years ago

          If your app behaves differently based on the GCC version the same node version has been compiled, there’s a fuck-up in there.

          • gdrhnvfhj
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            No, I mean my app has a node and an C part, just AS an example. Could also be Java vor PHP.

            • sip@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 years ago

              ahh, I see. I guess you had to do a bit more work to ensure everything builds with the same versions.