mirror of
https://github.com/NixOS/nix
synced 2025-07-10 13:03:55 +02:00
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:
parent
e44d2a6bbe
commit
28850ee900
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue