···281281 # Has to be in tools despite mostly being a library,
282282 # because we use a native helper executable from a
283283 # non-cross build in cross builds.
284284- libclc = callPackage ./libclc {
284284+ libclc = callPackage ../common/libclc.nix {
285285 inherit buildLlvmTools;
286286 };
287287 });
···269269 nixSupport.cc-cflags = [ "-fno-exceptions" ];
270270 });
271271272272+ # Has to be in tools despite mostly being a library,
273273+ # because we use a native helper executable from a
274274+ # non-cross build in cross builds.
275275+ libclc = callPackage ../common/libclc.nix {
276276+ inherit buildLlvmTools;
277277+ };
272278 });
273279274280 libraries = lib.makeExtensible (libraries: let