3 ms·
I use Nix as a package manager for my C projects. It works very well and has out of the box support for most C build systems (make, autotools, cmake, meson)
by arianvanp 3y ago
I use Nix as a package manager for my C projects. It works very well and has out of the box support for most C build systems (make, autotools, cmake, meson)
- Alifatisk 3y agoReally? You manage the libraries through nix?
- arianvanp 3y agoYes! just pop in a: stdenv.mkDerivation { pname = "myproject"; version = "0.0.0"; nativeBuildInputs = [ pkg-config ninja meson ]; buildInputs = [ openssl zlib libfido2 ]; } in a default.nix, type `nix-shell`. and you'll have meson, ninja, and all your libraries! All ready to go