fix patch

This commit is contained in:
Charlotte 🦝 Delenk 2023-07-06 13:57:40 +01:00
parent 0206f7cfcb
commit 91642f0b3c
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -54,32 +54,6 @@ index 57b9184ca60..37d12ac687f 100644
};
predicates = let
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index e0ee3dae41f..49dbbe56594 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -122,6 +122,10 @@ let
znver1 = versionAtLeast ccVersion "6.0";
znver2 = versionAtLeast ccVersion "9.0";
znver3 = versionAtLeast ccVersion "11.0";
+ # ARM
+ # TODO: Fill in as needed
+ # RISCV
+ # TODO: Fill in as needed
}.${arch} or true
else if isClang then
{ # Intel
@@ -132,6 +136,10 @@ let
# AMD
znver1 = versionAtLeast ccVersion "4.0";
znver2 = versionAtLeast ccVersion "9.0";
+ # AMD
+ # TODO: Fill in as needed
+ # RISCV
+ # TODO: Fill in as needed
}.${arch} or true
else
false;
diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix
index 4d847e280f4..874b776c1e1 100644
--- a/pkgs/top-level/impure.nix