mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-19 17:46:46 +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…
Reference in a new issue