Make dev shells work for cross

Need to get tools from right package set. Could build clang tools but I
don't want to wait :D.
This commit is contained in:
John Ericson 2023-08-30 23:27:53 -04:00
parent e44d2a6bbe
commit 28850ee900

View file

@ -750,7 +750,11 @@
outputs = [ "out" "dev" "doc" ]; outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = nativeBuildDeps nativeBuildInputs = nativeBuildDeps
++ (lib.optionals stdenv.cc.isClang [ pkgs.bear pkgs.clang-tools ]); ++ lib.optional stdenv.cc.isClang pkgs.buildPackages.bear
++ lib.optional
(stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform)
pkgs.buildPackages.clang-tools
;
buildInputs = buildDeps ++ propagatedDeps buildInputs = buildDeps ++ propagatedDeps
++ awsDeps ++ checkDeps ++ internalApiDocsDeps; ++ awsDeps ++ checkDeps ++ internalApiDocsDeps;