• unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Probably nixos to run distrobox with fedora, then using podman to run debian to compile the C application.

    • Ephera@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Well, first I tried compiling it on my own distro (which isn’t listed in the image). Then I tried compiling it with the help of nix-shell (that’s the NixOS logo).

      Then I figured, fuck it, let’s just launch a whole container for compiling, so I tried the distros listed in the official documentation (Debian and Fedora), which, you guessed it, didn’t work either.

      This is a hobby project that I’m trying to compile, so this definitely won’t be the best showing of C, but still just astronomically more painful than it should be…

    • Ephera@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      This game: http://crawl.develz.org/

      It’s packaged for my distro, but I’d like to play Nightly builds.

      The game is developed for fun by a community, so I don’t want to claim that this is peak documentation or build logic for a C application, but simultaneously, there’s not many programming languages where I would have the thought to launch a different operating system just to compile…

    • joshzcold@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The gophers are https://podman.io/ which builds and runs containers. My guess is they are building the same application in multiple distros for their one application

      Like

      my-app-nix my-app-fedora my-app-alpine

      It’s a common practice so users can choose the distro they prefer when launching your container in their stack.