From f3b1c9618441411ccab8c0e8448bc38b41d5d750 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 21 Apr 2024 15:24:41 -0400 Subject: [PATCH] knightos-scas: fix build if clang --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eeec062531476..52e6251cbd190 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16423,7 +16423,9 @@ with pkgs; knightos-mktiupgrade = callPackage ../development/tools/knightos/mktiupgrade { }; - knightos-scas = callPackage ../development/tools/knightos/scas { }; + knightos-scas = callPackage ../development/tools/knightos/scas { + stdenv = if stdenv.cc.isClang then llvmPackages_15.stdenv else stdenv; + }; knightos-z80e = callPackage ../development/tools/knightos/z80e { };