Build flags: Difference between revisions
imported>Appetrosyan Rewrote to use the file template |
imported>Appetrosyan Moved to templates and fixed rendering. |
||
Line 9: | Line 9: | ||
{{file|optimised_openssl.nix|nix|<nowiki> | {{file|optimised_openssl.nix|nix|<nowiki> | ||
let | let | ||
pkgs = import <nixpkgs> { | pkgs = </nowiki>import <nixpkgs> {<nowiki> | ||
localSystem = { | localSystem = { | ||
gcc.arch = "skylake"; | gcc.arch = "skylake"; | ||
gcc.tune = "skylake"; | gcc.tune = "skylake"; | ||
system = "x86_64-linux"; | system = "x86_64-linux"; | ||
}; | </nowiki>}; | ||
}; | }; | ||
in | in | ||
pkgs.openssl | pkgs.openssl | ||
}} | |||
Then build the file: | Then build the file: |