3 ms·
> gentoo shines when you need system wide control of build flags I'm pretty sure nixos can do that, though? There's this for CFLAGs on a single package:
by yjftsjthsd-h 3y ago
> gentoo shines when you need system wide control of build flags
I'm pretty sure nixos can do that, though?
There's this for CFLAGs on a single package:
nix-shell -p 'hello.overrideDerivation (old: { NIX_CFLAGS_COMPILE = "-Ofoo"; })' --run "hello --version"
And this page seems to talk about overriding settings for all of nixpkgs, and even something kind of like USE flags (although I agree that it's way less powerful and generic than USE flags; that's one place Gentoo wins): https://nixos.org/guides/nix-pills/nixpkgs-overriding-packages.html https://nixos.org/guides/nix-pills/nixpkgs-overriding-packag...