Issue:
Running the command:
sudo nixos-rebuild switch --upgrade .
I am getting the following message in the output:
compilation terminated.
make[2]: *** [layers/CMakeFiles/vvl.dir/build.make:146: layers/CMakeFiles/vvl.dir/best_practices/bp_descriptor.cpp.o] Error 1
make[2]: *** [layers/CMakeFiles/vvl.dir/build.make:272: layers/CMakeFiles/vvl.dir/best_practices/bp_synchronization.cpp.o] Error 1
In file included from /build/source/layers/./state_tracker/pipeline_state.h:27,
from /build/source/layers/./state_tracker/cmd_buffer_state.h:24,
from /build/source/layers/./best_practices/best_practices_validation.h:24,
from /build/source/layers/best_practices/bp_instance_device.cpp:20:
/build/source/layers/./utils/shader_utils.h:28:10: fatal error: spirv-tools/libspirv.h: No such file or directory
28 | #include <spirv-tools/libspirv.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [layers/CMakeFiles/vvl.dir/build.make:216: layers/CMakeFiles/vvl.dir/best_practices/bp_instance_device.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:162: layers/CMakeFiles/vvl.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
error: builder for '/nix/store/45k0fjdy7p87z7kkqcpwf62mcdcm728z-vulkan-validation-layers-1.3.283.0.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/fqs01il7xzjsfidd0ky5wg22m2va8xmm-graphics-drivers.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gwhaqfkpfwwlbsgaw5ixdiwys8d4cs19-graphics-driver.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4ilhf55nahz85klkw5sl3jxpschy3ba2-tmpfiles.d.drv' failed to build
error: 1 dependencies of derivation '/nix/store/13mnxnq6ych78hak3q9wq7svv2qjlf5k-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sxf8d3qxf5wm2nknpspnwhbc3c78v457-nixos-system-linux-24.11pre666839.c3aa7b8938b1.drv' failed to build
nix-shell -p nix-info --run “nix-info -m”
install: cannot remove ‘/tmp/env-vars’: Operation not permitted
- system:
"x86_64-linux"
- host os:
Linux 6.10.3, NixOS, 24.11 (Vicuna), 24.11pre665011.a58bc8ad7796
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.18.5
- channels(root):
"nixos, nixpkgs"
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos