This happened after I tried using home-manager for hyprland plugins, I’ve now undone everything I did in my config and removed the cannels, but this error keeps happening, I also tried nix-store --gc.
I’m not sure if it’s even related to home-manager
There is a /nix/store/0ikl83z4h69imxkwsly3hcm424f7wi7j-wayland-scanner-1.23.0-dev
directory, but there’s no include
directory inside it
building Nix...
building the system configuration...
these 20 derivations will be built:
/nix/store/79j2d16flwr56pkfrw8x2907j3q2pld1-xdg-desktop-portal-hyprland-1.3.3.drv
/nix/store/f9r4i5drzcvi7y3z0badnj26km84ag3y-xwayland-24.1.2.drv
/nix/store/8hcia8xr3x3mbfgkd7d5a1a4q668z0iv-source.drv
/nix/store/v5ppf4kff8nb5fs9z57bqvb2i3qjbm13-kicad-packages3d-5430edd57b.drv
/nix/store/lcgm0flziiadxaf4b12h82rf477ybllb-kicad-8.0.4.drv
/nix/store/2kjbgs8c2n520pmj7j218ydl0mis5yhx-system-path.drv
/nix/store/ksqryb9v29lrs5hks6f2jlbjjib98z6z-X-Restart-Triggers-polkit.drv
/nix/store/0glh3x1c65rnv927in9p0hkb77v9cqx0-unit-polkit.service.drv
/nix/store/imp59ymrg2ca4hlya6ml0qwyr4a388wc-dbus-1.drv
/nix/store/30s82crw2x06c94kdy4677afj4zfw8ql-X-Restart-Triggers-dbus.drv
/nix/store/v4d5g31h5cl2dk0xlv3xw0dak1ba85ag-unit-dbus.service.drv
/nix/store/32dr45myxbyw2pndix0xzmvmdkkw1isj-user-units.drv
/nix/store/56szm09rmqb5afdcmyrpv4sia21pk7gz-system-generators.drv
/nix/store/6f7y168pk6p2r2h5v2ysiiplbfbwdf2w-system-shutdown.drv
/nix/store/pb84r29bbv02fxlb680z01a7lx0rzb1z-unit-dbus.service.drv
/nix/store/y4qfl74afrxd5xkfk2q2q47ib2d18zvx-unit-accounts-daemon.service.drv
/nix/store/cvz1vl5zd4fm2bh4i8yhwzkwv3rwj6xy-system-units.drv
/nix/store/i00scn8d3q89nhzv4krkkykl9d84n1bl-user-generators.drv
/nix/store/7w9m7hk1i8mbfbf36yv1ysn4bs8yz6m5-etc.drv
/nix/store/p22zpg36k406yjh3cyhpqkcfj8bmgcnx-nixos-system-nixos-24.11pre674318.12228ff1752d.drv
building '/nix/store/79j2d16flwr56pkfrw8x2907j3q2pld1-xdg-desktop-portal-hyprland-1.3.3.drv'...
building '/nix/store/f9r4i5drzcvi7y3z0badnj26km84ag3y-xwayland-24.1.2.drv'...
building '/nix/store/8hcia8xr3x3mbfgkd7d5a1a4q668z0iv-source.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/cw25pbcjk6ydxdf0igfmcrlyf4jbls7a-xwayland-24.1.2.tar.xz
source root is xwayland-24.1.2
setting SOURCE_DATE_EPOCH to timestamp 1723022541 of file xwayland-24.1.2/xserver.ent.in
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
mesonConfigurePhase flags: --prefix=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2 --libdir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/lib --libexecdir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/libexec --bindir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/bin --sbindir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/sbin --includedir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/include --mandir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/share/man --infodir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/share/info --localedir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dxcsecurity=true -Ddefault_font_path=/run/current-system/sw/share/X11/fonts -Dxkb_bin_dir=/nix/store/76lgyvajj6waxywz97hvwivdhz2hlkmc-xkbcomp-1.4.7/bin -Dxkb_dir=/nix/store/ccr5sxdr3sfyykvwmxnpmxjsl2vl1yjq-xkeyboard-config-2.42/etc/X11/xkb -Dxkb_output_dir=/nix/store/flv2cj4547c6wp3gx6rvw847mn83syxi-xwayland-24.1.2/share/X11/xkb/compiled -Dlibunwind=true
trying https://gitlab.com/api/v4/projects/kicad%2Flibraries%2Fkicad-packages3d/repository/archive.tar.gz?sha=5430edd57b3a66fe69288aa8fda714f9732a7f52
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
The Meson build system
Version: 1.5.1
Source dir: /build/xwayland-24.1.2
Build dir: /build/xwayland-24.1.2/build
Build type: native build
Project name: xwayland
Project version: 24.1.2
C compiler for the host machine: gcc (gcc 13.3.0 "gcc (GCC) 13.3.0")
C linker for the host machine: gcc ld.bfd 2.42
Running phase: qtPreHook
Running phase: unpackPhase
unpacking source archive /nix/store/79n1c2k1n6cs6wzc1yw9j968z5f8k6ps-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Host machine cpu family: x86_64
Host machine cpu: x86_64
Running phase: configurePhase
fixing cmake files...
Compiler for C supports arguments -Wall: YES
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/share/doc/xdg-desktop-portal-hyprland -DCMAKE_INSTALL_INFODIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/gxpdysvlj9l6bfin03k6yq0s922pk7pg-gcc-wrapper-13.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/gxpdysvlj9l6bfin03k6yq0s922pk7pg-gcc-wrapper-13.3.0/bin/ranlib -DCMAKE_AR=/nix/store/gxpdysvlj9l6bfin03k6yq0s922pk7pg-gcc-wrapper-13.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/lwrmvnk3iif67xm52a9xzvr8w0bkrjq8-xdg-desktop-portal-hyprland-1.3.3
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wbad-function-cast: YES
Compiler for C supports arguments -Wold-style-definition: YES
-- The C compiler identification is GNU 13.3.0
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Werror=implicit: YES
Compiler for C supports arguments -Werror=nonnull: YES
Compiler for C supports arguments -Werror=init-self: YES
-- The CXX compiler identification is GNU 13.3.0
Compiler for C supports arguments -Werror=main: YES
Compiler for C supports arguments -Werror=missing-braces: YES
Compiler for C supports arguments -Werror=sequence-point: YES
-- Detecting C compiler ABI info
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=trigraphs: YES
Compiler for C supports arguments -Werror=array-bounds: YES
Compiler for C supports arguments -Werror=write-strings: YES
Compiler for C supports arguments -Werror=address: YES
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES
meson.build:61: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Found pkg-config: YES (/nix/store/fcmc82gp5qc0s8qvcw4c0w46c67zd295-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
-- Detecting C compiler ABI info - done
Run-time dependency x11 found: YES 1.8.10
Run-time dependency xproto found: YES 7.0.33
Run-time dependency randrproto found: YES 1.6.0
Run-time dependency renderproto found: YES 0.11.1
-- Check for working C compiler: /nix/store/gxpdysvlj9l6bfin03k6yq0s922pk7pg-gcc-wrapper-13.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
Run-time dependency xextproto found: YES 7.3.0
Run-time dependency inputproto found: YES 2.3.99.2
Run-time dependency kbproto found: YES 1.0.7
Run-time dependency fontsproto found: YES 2.1.3
Run-time dependency fixesproto found: YES 6.1
Run-time dependency damageproto found: YES 1.2.1
Run-time dependency xcmiscproto found: YES 1.2.2
Run-time dependency bigreqsproto found: YES 1.1.2
Run-time dependency presentproto found: YES 1.4
Run-time dependency xtrans found: YES 1.5.0
Run-time dependency videoproto found: YES 2.3.3
Run-time dependency compositeproto found: YES 0.4.2
Run-time dependency recordproto found: YES 1.14.2
-- Detecting CXX compiler ABI info - done
Run-time dependency scrnsaverproto found: YES 1.2.3
Run-time dependency resourceproto found: YES 1.2.0
Run-time dependency dri3proto found: YES 1.4
Run-time dependency xineramaproto found: YES 1.2.1
Run-time dependency xf86bigfontproto found: YES 1.2.0
Run-time dependency xf86vidmodeproto found: YES 2.3.1
-- Check for working CXX compiler: /nix/store/gxpdysvlj9l6bfin03k6yq0s922pk7pg-gcc-wrapper-13.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring XDPH in Release with CMake
-- Checking deps...
Run-time dependency xshmfence found: YES 1.3.2
Run-time dependency xwaylandproto found: YES 1.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
Run-time dependency dpmsproto found: YES 1.2
Run-time dependency pixman-1 found: YES 0.43.4
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libbsd-overlay found: NO (tried pkgconfig and cmake)
Run-time dependency xkbcomp found: YES 1.4.7
Run-time dependency xkbfile found: YES 1.1.3
Run-time dependency xfont2 found: YES 2.0.6
Run-time dependency libsystemd found: YES 256
Run-time dependency libxcvt found: YES 0.1.2
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency wayland-protocols found: YES 1.36
Dependency libxcvt found: YES 0.1.2 (cached)
Dependency xshmfence found: YES 1.3.2 (cached)
Run-time dependency libdrm found: YES 2.4.122
Run-time dependency epoxy found: YES 1.5.10
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
Checking for function "getaddrinfo" : YES
Run-time dependency gbm found: YES 24.2.1
Dependency epoxy found: YES 1.5.10 (cached)
Run-time dependency libdecor-0 found: YES 0.2.2
Run-time dependency libei-1.0 found: YES 1.3.0
Run-time dependency liboeffis-1.0 found: YES 1.3.0
Checking for function "SHA1Init" : NO
Checking for function "CC_SHA1_Init" : NO
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
Has header "wincrypt.h" : NO
Library md found: NO
-- Found OpenGL: /nix/store/jz5imlpjk5a01224mimn6bsp9v0wrlgb-libglvnd-1.7.0/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
Run-time dependency libsha1 found: NO (tried pkgconfig and cmake)
Run-time dependency nettle found: NO (tried pkgconfig and cmake)
libgcrypt-config found: NO
Run-time dependency libgcrypt found: NO (tried pkgconfig and config-tool)
-- Found XKB: /nix/store/rnlflxkgglrdiii7wl7k99893zr4iamc-libxkbcommon-1.7.0/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
Library crypto found: YES
-- Found WrapVulkanHeaders: /nix/store/v0qw5vwbbhz0s32g8prvgpd8zy26vziz-vulkan-headers-1.3.283.0/include
Run-time dependency openssl found: YES 3.0.14
Message: Using libcrypto SHA1 functions
Run-time dependency xdmcp found: YES 1.1.5
Dependency libdrm found: YES 2.4.122 (cached)
Has header "sys/eventfd.h" : YES
-- Found PkgConfig: /nix/store/fcmc82gp5qc0s8qvcw4c0w46c67zd295-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'wayland-client;wayland-protocols;wayland-scanner;libpipewire-0.3;libspa-0.2;libdrm;gbm;hyprlang>=0.2.0'
Has header "sys/shm.h" : YES
-- Found wayland-client, version 1.23.0
-- Found wayland-protocols, version 1.36
Library m found: YES
-- Found wayland-scanner, version 1.23.0
-- Found libpipewire-0.3, version 1.2.3
-- Found libspa-0.2, version 0.2
-- Found libdrm, version 2.4.122
Library dl found: YES
-- Found gbm, version 24.2.1
Run-time dependency libselinux found: NO (tried pkgconfig and cmake)
Run-time dependency audit found: NO (tried pkgconfig and cmake)
-- Found hyprlang, version 0.5.2
Run-time dependency libunwind found: YES 1.8.1
Configuring Xserver.1 using configuration
Run-time dependency xorg-sgml-doctools found: NO (tried pkgconfig and cmake)
Program xmlto found: NO
Program xsltproc found: NO
Program fop found: NO
-- Checking for module 'sdbus-c++'
Run-time dependency dri found: YES 24.2.1
-- Found sdbus-c++, version 1.5.0
Checking if "typeof()" compiles: YES
-- Checking for module 'hyprland-protocols'
-- Found hyprland-protocols, version 0.3.0
Checking for function "clock_gettime" : YES
Checking if "CLOCK_MONOTONIC" compiles: YES
-- Found WaylandScanner at /nix/store/mq0445zflcxkh6r38afzczlpw8bax9kv-wayland-scanner-1.23.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/sm9mxbw5lanjmabjgd53yps0b9j3lrc9-wayland-protocols-1.36/share/wayland-protocols
-- Configuring done (2.4s)
CMake Error in CMakeLists.txt:
Imported target "PkgConfig::deps" includes non-existent path
"/nix/store/0ikl83z4h69imxkwsly3hcm424f7wi7j-wayland-scanner-1.23.0-dev/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in CMakeLists.txt:
Imported target "PkgConfig::deps" includes non-existent path
"/nix/store/0ikl83z4h69imxkwsly3hcm424f7wi7j-wayland-scanner-1.23.0-dev/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025
CMake Generate step failed. Build files cannot be regenerated correctly.
error: builder for '/nix/store/79j2d16flwr56pkfrw8x2907j3q2pld1-xdg-desktop-portal-hyprland-1.3.3.drv' failed with exit code 1
error (ignored): error: cannot unlink '/tmp/nix-build-xwayland-24.1.2.drv-1/build': Directory not empty
error: 1 dependencies of derivation '/nix/store/imp59ymrg2ca4hlya6ml0qwyr4a388wc-dbus-1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2kjbgs8c2n520pmj7j218ydl0mis5yhx-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p22zpg36k406yjh3cyhpqkcfj8bmgcnx-nixos-system-nixos-24.11pre674318.12228ff1752d.drv' failed to build