mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 19:28:58 +08:00
use generic stdenv to compile embree on alderlake
This commit is contained in:
parent
949e46453c
commit
17a61b4862
@ -167,6 +167,12 @@ inputs:
|
||||
{
|
||||
hostPlatform = { system = "x86_64-linux"; gcc = { arch = system.march; tune = system.march; }; };
|
||||
config.qchem-config.optArch = system.march;
|
||||
overlays =
|
||||
let
|
||||
fixes.alderlake = [(final: prev:
|
||||
{ embree = prev.embree.override { stdenv = final.genericPackages.stdenv; }; })];
|
||||
in
|
||||
fixes.${system.march} or [];
|
||||
};
|
||||
nix.settings.system-features = [ "gccarch-${system.march}" ];
|
||||
boot.kernelPatches =
|
||||
|
Loading…
Reference in New Issue
Block a user