the.bay.news

One-off devshell in which `cc` uses musl libc?

NixOS Discourse
One-off devshell in which `cc` uses musl libc?
What’s the most straightforward way to spin up a throwaway shell environment in which a C compiler and all the usual shell utilities are available (~ equivalent to Debian’s build-essential), and the C compiler uses musl libc as its C library? I don’t need any other compiled-code languages besides C. By “throwaway shell environment” I mean I’m looking for a “nix-shell” command line, or similar, not stuff to put in a package.nix.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.