Merge pull request #110544 from Ericson2314/no-platform

top-level, lib: Remove platform attribute of platforms
This commit is contained in:
John Ericson
2021-01-23 16:32:36 -05:00
committed by GitHub
40 changed files with 464 additions and 468 deletions

View File

@@ -1,7 +1,7 @@
{ lib, targetPlatform }:
let
p = targetPlatform.platform.gcc or {}
p = targetPlatform.gcc or {}
// targetPlatform.parsed.abi;
in lib.concatLists [
(lib.optional (!targetPlatform.isx86_64 && p ? arch) "--with-arch=${p.arch}") # --with-arch= is unknown flag on x86_64