mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
modules.system.nix: fix build on aarch64
This commit is contained in:
@@ -127,6 +127,8 @@ inputs:
|
||||
secrets."github/token" = {};
|
||||
};
|
||||
})
|
||||
# build failed on aarch64
|
||||
(inputs.lib.mkIf (inputs.config.nixos.model.arch == "aarch64") { nix.package = inputs.pkgs.nixVersions.nix_2_29; })
|
||||
# c++ include path
|
||||
# environment.pathsToLink = [ "/include" ];
|
||||
# environment.variables.CPATH = "/run/current-system/sw/include";
|
||||
|
||||
Reference in New Issue
Block a user