[Nix-dev] CPU optimized packages

Danny Wilson danny at prime.vc
Thu Feb 7 12:37:19 CET 2013


I'd like some packages to be optimized for my server CPU. GCC has  
-march=native for this, but that would not generate a cpu specific nixos 
hash.

Is there a nix expression available which adds something like this:
gcc -march=native -Q --help=target |grep enabled

to CFLAGS and correctly hashing it?





More information about the nix-dev mailing list