I’m trying override llvm-18.1.8 called by zig. No success at all. Sometimes zig calling two derivations of llvm ( old and new ). Purpose of override is massive rebuild with enabling paralellBuildByDefault. Llvm build stuck ( 10 hours and more ) at test. I want disable doCheck for llvm-18.1.8.
Could someone done something like that?
[nix-shell:~]$ nix-info -m
- system:
"x86_64-linux"
- host os:
Linux 6.12.10-lqx1, NixOS, 25.05 (Warbler), 25.05.20250213.2ff53fe
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.24.12
- nixpkgs:
/nix/store/brjzz8wv5k09bq0yrvhc1j4hd8677k21-source
nh os switch( without overlay):
┏━ Dependency Graph:
┃ ┌─ ⏵ llvm-18.1.8 (unpackPhase) 4s
┃ ┌─ zig-0.13.0
┃ ┌─ zig-hook
┃ │ ┌─ ⏵ llvm-19.1.7 (unpackPhase) 5s
┃ │ ┌─ clang-19.1.7
┃ │ ┌─ hotdoc-0.15
┃ │ ┌─ gstreamer-1.24.10
┃ │ ┌─ gst-plugins-bad-1.24.10
┃ │ ┌─ gtk4-4.16.12
┃ ├─ libadwaita-1.6.4
┃ ┌─ ghostty-1.1.2
┃ ┌─ system-path
┃ ┌─ set-environment
┃ ┌─ etc-profile
┃ ┌─ etc
┃ nixos-system-nixos-25.05.20250218.73cf49b
┣━━━ Builds
┗━ ∑ ⏵ 2 │ 0 │
874 │
24s^C
With override applied :
┏━ Dependency Graph:
┃ ┌─ ⏵ llvm-18.1.8 (configurePhase) 15s
┃ ┌─ zig-0.13.0
┃ ┌─ zig-hook
┃ ┌─ ghostty-1.1.2
┃ │ ┌─ ⏵ coreutils-9.5 (configurePhase) 14s
┃ │ ┌─ openssl-3.3.2
┃ │ ┌─ curl-8.11.1
┃ │ ┌─ patchutils-0.3.3.tar.xz
┃ │ ┌─ patchutils-0.3.3
┃ │ ┌─ d970c9126c033ebcbb7187bc705eae2e54726b74.patch
┃ │ ├─ ⏵ llvm-18.1.8 (configurePhase) 16s
┃ │ ┌─ SPIRV-LLVM-Translator-18.1.0
┃ │ ├─ ⏵ llvm-19.1.7 (configurePhase) 17s
┃ │ ┌─ mesa-24.3.4
┃ │ ┌─ xorg-server-21.1.15
┃ │ ┌─ gdm-47.0
┃ │ ┌─ gnome-shell-47.4
┃ ├─ gnome-browser-connector-42.1
┃ ┌─ system-path
┃ nixos-system-nixos-25.05.20250218.73cf49b
┣━━━ Builds
┗━ ∑ ⏵ 4 │ 0 │
883 │
33s^C
I’m using :
packageOverrides = pkgs: {
llvm = pkgs.llvmPackages_18.llvm.dev.overrideAttrs (attrs: { doCheck = false; doInstallCheck = false; dontCheck = true; strictDeps = false; });
};