This commit is contained in:
2023-12-08 12:12:53 +08:00
parent b9fa645334
commit 2463a8c1af

View File

@@ -52,7 +52,7 @@ inputs:
(package: inputs.pkgs.${package}.name)
(filter (package: inputs.pkgs ? ${package}) permittedInsecurePackages);
allowUnfree = true;
qchem-config.optArch = mkIf (nixpkgs.march != null) nixpkgs.march;
qchem-config = { optArch = nixpkgs.march; useCuda = nixpkgs.cuda.enable; };
oneapiArch = mkIf (nixpkgs.march != null) nixpkgs.march;
};
overlays =