diff options
author | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-05-04 05:37:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 05:37:16 +0200 |
commit | b9e8ed239ff39dc3e8ebace3320fd9b0bca6e04f (patch) | |
tree | 0023191d698e3db4fd4fbe23a5151c3e0b068a2c /lib/systems | |
parent | 113375e098e85f093879b6edb15657557fea8487 (diff) | |
parent | 006c38fa5353e0a157d1af59ca4b345f42a7ae16 (diff) |
Merge pull request #161156 from a-m-joseph/abort-on-failed-platform-detection-instead-of-silently-assuming-pc
platforms.nix: use {} on failed detection instead of silently assuming pc
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/platforms.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index d65ff6487b7ad..72535372fc2bc 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -3,7 +3,7 @@ # targetPlatform, etc) containing at least the minimal set of attrs # required (see types.parsedPlatform in lib/systems/parse.nix). This # file takes an already-valid platform and further elaborates it with -# optional fields such as linux-kernel, gcc, etc. +# optional fields; currently these are: linux-kernel, gcc, and rustc. { lib }: rec { @@ -568,5 +568,5 @@ rec { else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv - else pc; + else { }; } |