hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
459 stars 42 forks source link

cannot install plugins on NIXOS #164

Closed lVentus closed 1 month ago

lVentus commented 1 month ago

I try to enable plugins, the instruction is:

wayland.windowManager.hyprland.plugins = [
  inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
];

But I don’t know how to determine the path to the plugin. More worrying, every attempt I have made (also used Hyprland - NixOS Wiki), I get the error attribute 'inputs' missing.

# flake.nix

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
    nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
    nixos-hardware.url = "github:NixOS/nixos-hardware/master";

    home-manager = {
      url = "github:nix-community/home-manager/release-23.11";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    hyprland.url = "github:hyprwm/Hyprland";
    hyprland-plugins = {
        url = "github:hyprwm/hyprland-plugins";
        inputs.hyprland.follows = "hyprland";
    };
    hyprgrass = {
      url = "github:horriblename/hyprgrass";
      inputs.hyprland.follows = "hyprland";
    };
    ags.url = "github:Aylur/ags";
    thorium.url = "github:end-4/nix-thorium";
  };

  outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, nixos-hardware, hyprland, hyprland-plugins, hyprgrass, ... }@inputs: {

    nixosConfigurations = {
      ventus = nixpkgs.lib.nixosSystem{
        system = "x86_64-linux";

        specialArgs = {
          inherit inputs;
            hyprland-plugins = import hyprland-plugins {
              system = "x86_64-linux";
              config.allowUnfree = true;
          };
          hyprgrass = {
            system = "x86_64-linux";
            config.allowUnfree = true;
          };
          pkgs-unstable = import nixpkgs-unstable {
            system = "x86_64-linux";
            config.allowUnfree = true;
          };
        };

        modules = [   
          ./hosts/surface

          nixos-hardware.nixosModules.microsoft-surface-pro-intel

          home-manager.nixosModules.home-manager {

            home-manager.useGlobalPkgs = true;
            home-manager.useUserPackages = true;
            home-manager.extraSpecialArgs = { inherit inputs; };

            home-manager.users.ventus = import ./home;
          }
        ];
      };
    };
  };
}

home.nix just imports this:

# hyprland.nix
{ pkgs, lib, config, inputs, ... }:
{

  wayland.windowManager.hyprland = {
    enable = true;

    xwayland.enable = true;
    package = pkgs.hyprland;
    plugins = [
      inputs.hyprland-plugins.packages."${pkgs.system}".hyperbars
    ];

And I get the error

error: attribute 'inputs' missing.

and then I tried to add these inputs manualy:

{pkgs, inputs, lib, hyprland-plugins, hyprgrass, ...}:

then it is the new error:

-- Setting precompiled headers -- Setting link libraries Could not open input file: No such file or directory Could not open input file: No such file or directory Could not open input file: No such file or directory Could not open input file: No such file or directory Couldn't load proto -- Checking for module 'tomlplusplus' -- Found tomlplusplus, version 3.4.0 -- Configuring incomplete, errors occurred!

fufexan commented 1 month ago
            hyprland-plugins = import hyprland-plugins {
              system = "x86_64-linux";
              config.allowUnfree = true;
          };
          hyprgrass = {
            system = "x86_64-linux";
            config.allowUnfree = true;
          };

These are not needed in specialInputs. They don't do anything.

Also the hyprland url has to be changed to git+https://github.com/hyprwm/Hyprland?submodules=1. See https://github.com/hyprwm/Hyprland/issues/5891.

Also this line is wrong, and should be:

-             home-manager.users.ventus = import ./home;
+             home-manager.users.ventus.imports = [./home];
lVentus commented 1 month ago
          hyprland-plugins = import hyprland-plugins {
            system = "x86_64-linux";
            config.allowUnfree = true;
          };
          hyprgrass = {
            system = "x86_64-linux";
            config.allowUnfree = true;
          };

These are not needed in specialInputs. They don't do anything.

Also the hyprland url has to be changed to git+https://github.com/hyprwm/Hyprland?submodules=1. See hyprwm/Hyprland#5891.

Also this line is wrong, and should be:

-             home-manager.users.ventus = import ./home;
+             home-manager.users.ventus.imports = [./home];

it solved current problem, but then there is a new compiling problem. no matter what plugin I want to build, there will be a error : no match ‘for operator=’ is my environment has some problems? here is the error file: log.txt

fufexan commented 1 month ago

Are your inputs up to date?

lVentus commented 1 month ago

Are your inputs up to date?

here are my inputs:

inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";

home-manager = {
  url = "github:nix-community/home-manager/release-23.11";
  inputs.nixpkgs.follows = "nixpkgs";
};

hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";

hyprland-plugins = {
    url = "github:hyprwm/hyprland-plugins";
    inputs.hyprland.follows = "hyprland";
};
hyprgrass = {
  url = "github:horriblename/hyprgrass";
  inputs.hyprland.follows = "hyprland";
};
ags.url = "github:Aylur/ags";

};

I used stable as pkgs. Does that matter? should I turn to unstable? and other inputs, I just did what wiki said.

timhae commented 1 month ago

I have a similar issue for hyprexpo. The revisions in my flake.lock are:

the exact build error is:

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/bjwd8kbq20f5g3lf5ifjfqb0g21ykdrh-hyprexpo
source root is hyprexpo
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -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/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/share/doc/hyprexpo -DCMAKE_INSTALL_INFODIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/2k2nps8s0dyv2qf9x58cfw08yjh7758d-hyprexpo-0.1  
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/vbk2n3094zyl9ywijks6a3d7s2i6wnfm-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
--   Found hyprland, version 0.40.0
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found libudev, version 255
--   Found pangocairo, version 1.52.2
--   Found pixman-1, version 0.43.4
--   Found wayland-server, version 1.22.0
--   Found xkbcommon, version 1.5.0
-- Configuring done (0.8s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR
    CMAKE_POLICY_DEFAULT_CMP0025


-- Build files have been written to: /build/hyprexpo/build
cmake: enabled parallel building
cmake: enabled parallel installing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: -j16
[1/4] Building CXX object CMakeFiles/hyprexpo.dir/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o
[2/4] Building CXX object CMakeFiles/hyprexpo.dir/overview.cpp.o
FAILED: CMakeFiles/hyprexpo.dir/overview.cpp.o 
/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/g++ -Dhyprexpo_EXPORTS -isystem /nix/store/gq7vq44zbh4car4njmasgb316sps12ic-hyprland-0.40.0+date=2024-05-07_598bbd1-dev/include/hyprland/protocols -isystem /nix/store/gq7vq44zbh4car4njmasgb316sps12ic-hyprland-0.40.0+date=2024-05-07_598bbd1-dev/include/hyprland -isystem /nix/store/qrv6z37vprzl8yiwl6m8yg58sk6h7zz5-libdrm-2.4.120-dev/include/libdrm -isystem /nix/store/xr0awmvc5h69r8ixmys3657fxz77xif1-cairo-1.18.0-dev/include/cairo -isystem /nix/store/zgnn357b7q3513bzmh17k6rcfp0c8vfz-glib-2.80.0-dev/include/glib-2.0 -isystem /nix/store/3xsbahrqqc4fc3gknmjj9j9687n4hiz0-glib-2.80.0/lib/glib-2.0/include -isystem /nix/store/7pksmb36lizqi1q4bq6gk19bjhvvsd90-pango-1.52.2-dev/include/pango-1.0 -isystem /nix/store/f51jd8nl5kpzxyw069rxskp7qijpw6m9-harfbuzz-8.4.0-dev/include/harfbuzz -O3 -DNDEBUG -std=gnu++23 -fPIC -MD -MT CMakeFiles/hyprexpo.dir/overview.cpp.o -MF CMakeFiles/hyprexpo.dir/overview.cpp.o.d -o CMakeFiles/hyprexpo.dir/overview.cpp.o -c /build/hyprexpo/overview.cpp
/build/hyprexpo/overview.cpp: In constructor 'COverview::COverview(PHLWORKSPACE, bool)':
/build/hyprexpo/overview.cpp:166:82: warning: narrowing conversion of '(currentid % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  166 |     pos.create((-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{currentid % SIDE_LENGTH, currentid / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize),
      |                                                                        ~~~~~~~~~~^~~~~~~~~~~~~
/build/hyprexpo/overview.cpp:166:107: warning: narrowing conversion of '(currentid / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  166 |     pos.create((-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{currentid % SIDE_LENGTH, currentid / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize),
      |                                                                                                 ~~~~~~~~~~^~~~~~~~~~~~~
/build/hyprexpo/overview.cpp:208:73: error: no match for 'operator=' (operand types are 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >' and 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >')
  208 |     mouseMoveHook = g_pHookSystem->hookDynamic("mouseMove", onCursorMove);
      |                                                                         ^
In file included from /nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/memory:80,
                 from /nix/store/gq7vq44zbh4car4njmasgb316sps12ic-hyprland-0.40.0+date=2024-05-07_598bbd1-dev/include/hyprland/src/plugins/HookSystem.hpp:5,
                 from /nix/store/gq7vq44zbh4car4njmasgb316sps12ic-hyprland-0.40.0+date=2024-05-07_598bbd1-dev/include/hyprland/src/plugins/PluginAPI.hpp:24,
                 from /build/hyprexpo/globals.hpp:3,
                 from /build/hyprexpo/overview.hpp:5,
                 from /build/hyprexpo/overview.cpp:1:
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<const std::shared_ptr<_Yp>&> std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Yp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  418 |         operator=(const shared_ptr<_Yp>& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:208:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'const std::shared_ptr<_Tp>'
  208 |     mouseMoveHook = g_pHookSystem->hookDynamic("mouseMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::auto_ptr<_Up> > std::shared_ptr<_Tp>::operator=(std::auto_ptr<_Up>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  429 |         operator=(auto_ptr<_Yp>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:208:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::auto_ptr<_Up>'
  208 |     mouseMoveHook = g_pHookSystem->hookDynamic("mouseMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::shared_ptr<_Yp> > std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Yp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  446 |         operator=(shared_ptr<_Yp>&& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:208:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::shared_ptr<_Tp>'
  208 |     mouseMoveHook = g_pHookSystem->hookDynamic("mouseMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note: candidate: 'template<class _Yp, class _Del> std::shared_ptr<_Tp>::_Assignable<std::unique_ptr<_Up, _Ep> > std::shared_ptr<_Tp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Del = _Yp; _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  454 |         operator=(unique_ptr<_Yp, _Del>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:208:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::unique_ptr<_Tp, _Dp>'
  208 |     mouseMoveHook = g_pHookSystem->hookDynamic("mouseMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:19: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                   ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:29: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'const std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                             ^~~~~~~~~~~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:7: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Tp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  438 |       operator=(shared_ptr&& __r) noexcept
      |       ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:30: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&&'
  438 |       operator=(shared_ptr&& __r) noexcept
      |                 ~~~~~~~~~~~~~^~~
/build/hyprexpo/overview.cpp:209:73: error: no match for 'operator=' (operand types are 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >' and 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >')
  209 |     touchMoveHook = g_pHookSystem->hookDynamic("touchMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<const std::shared_ptr<_Yp>&> std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Yp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  418 |         operator=(const shared_ptr<_Yp>& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:209:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'const std::shared_ptr<_Tp>'
  209 |     touchMoveHook = g_pHookSystem->hookDynamic("touchMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::auto_ptr<_Up> > std::shared_ptr<_Tp>::operator=(std::auto_ptr<_Up>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  429 |         operator=(auto_ptr<_Yp>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:209:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::auto_ptr<_Up>'
  209 |     touchMoveHook = g_pHookSystem->hookDynamic("touchMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::shared_ptr<_Yp> > std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Yp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  446 |         operator=(shared_ptr<_Yp>&& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:209:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::shared_ptr<_Tp>'
  209 |     touchMoveHook = g_pHookSystem->hookDynamic("touchMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note: candidate: 'template<class _Yp, class _Del> std::shared_ptr<_Tp>::_Assignable<std::unique_ptr<_Up, _Ep> > std::shared_ptr<_Tp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Del = _Yp; _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  454 |         operator=(unique_ptr<_Yp, _Del>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:209:73: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::unique_ptr<_Tp, _Dp>'
  209 |     touchMoveHook = g_pHookSystem->hookDynamic("touchMove", onCursorMove);
      |                                                                         ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:19: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                   ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:29: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'const std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                             ^~~~~~~~~~~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:7: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Tp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  438 |       operator=(shared_ptr&& __r) noexcept
      |       ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:30: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&&'
  438 |       operator=(shared_ptr&& __r) noexcept
      |                 ~~~~~~~~~~~~~^~~
/build/hyprexpo/overview.cpp:211:79: error: no match for 'operator=' (operand types are 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >' and 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >')
  211 |     mouseButtonHook = g_pHookSystem->hookDynamic("mouseButton", onCursorSelect);
      |                                                                               ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<const std::shared_ptr<_Yp>&> std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Yp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  418 |         operator=(const shared_ptr<_Yp>& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:211:79: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'const std::shared_ptr<_Tp>'
  211 |     mouseButtonHook = g_pHookSystem->hookDynamic("mouseButton", onCursorSelect);
      |                                                                               ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::auto_ptr<_Up> > std::shared_ptr<_Tp>::operator=(std::auto_ptr<_Up>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  429 |         operator=(auto_ptr<_Yp>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:211:79: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::auto_ptr<_Up>'
  211 |     mouseButtonHook = g_pHookSystem->hookDynamic("mouseButton", onCursorSelect);
      |                                                                               ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::shared_ptr<_Yp> > std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Yp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  446 |         operator=(shared_ptr<_Yp>&& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:211:79: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::shared_ptr<_Tp>'
  211 |     mouseButtonHook = g_pHookSystem->hookDynamic("mouseButton", onCursorSelect);
      |                                                                               ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note: candidate: 'template<class _Yp, class _Del> std::shared_ptr<_Tp>::_Assignable<std::unique_ptr<_Up, _Ep> > std::shared_ptr<_Tp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Del = _Yp; _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  454 |         operator=(unique_ptr<_Yp, _Del>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:211:79: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::unique_ptr<_Tp, _Dp>'
  211 |     mouseButtonHook = g_pHookSystem->hookDynamic("mouseButton", onCursorSelect);
      |                                                                               ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:19: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                   ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:29: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'const std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                             ^~~~~~~~~~~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:7: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Tp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  438 |       operator=(shared_ptr&& __r) noexcept
      |       ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:30: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&&'
  438 |       operator=(shared_ptr&& __r) noexcept
      |                 ~~~~~~~~~~~~~^~~
/build/hyprexpo/overview.cpp:212:71: error: no match for 'operator=' (operand types are 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >' and 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >')
  212 |     touchUpHook = g_pHookSystem->hookDynamic("touchUp", onCursorSelect);
      |                                                                       ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<const std::shared_ptr<_Yp>&> std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Yp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  418 |         operator=(const shared_ptr<_Yp>& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:418:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:212:71: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'const std::shared_ptr<_Tp>'
  212 |     touchUpHook = g_pHookSystem->hookDynamic("touchUp", onCursorSelect);
      |                                                                       ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::auto_ptr<_Up> > std::shared_ptr<_Tp>::operator=(std::auto_ptr<_Up>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  429 |         operator=(auto_ptr<_Yp>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:429:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:212:71: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::auto_ptr<_Up>'
  212 |     touchUpHook = g_pHookSystem->hookDynamic("touchUp", onCursorSelect);
      |                                                                       ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note: candidate: 'template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::shared_ptr<_Yp> > std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Yp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  446 |         operator=(shared_ptr<_Yp>&& __r) noexcept
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:446:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:212:71: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::shared_ptr<_Tp>'
  212 |     touchUpHook = g_pHookSystem->hookDynamic("touchUp", onCursorSelect);
      |                                                                       ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note: candidate: 'template<class _Yp, class _Del> std::shared_ptr<_Tp>::_Assignable<std::unique_ptr<_Up, _Ep> > std::shared_ptr<_Tp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Del = _Yp; _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  454 |         operator=(unique_ptr<_Yp, _Del>&& __r)
      |         ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:454:9: note:   template argument deduction/substitution failed:
/build/hyprexpo/overview.cpp:212:71: note:   'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' is not derived from 'std::unique_ptr<_Tp, _Dp>'
  212 |     touchUpHook = g_pHookSystem->hookDynamic("touchUp", onCursorSelect);
      |                                                                       ^
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:19: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                   ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:414:29: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'const std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&'
  414 |       shared_ptr& operator=(const shared_ptr&) noexcept = default;
      |                             ^~~~~~~~~~~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:7: note: candidate: 'std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Tp>&&) [with _Tp = std::function<void(void*, SCallbackInfo&, std::any)>]'
  438 |       operator=(shared_ptr&& __r) noexcept
      |       ^~~~~~~~
/nix/store/9hgsinpfgyvsd92v0wlvmxv9wnaal68r-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:438:30: note:   no known conversion for argument 1 from 'CSharedPointer<std::function<void(void*, SCallbackInfo&, std::any)> >' to 'std::shared_ptr<std::function<void(void*, SCallbackInfo&, std::any)> >&&'
  438 |       operator=(shared_ptr&& __r) noexcept
      |                 ~~~~~~~~~~~~~^~~
/build/hyprexpo/overview.cpp: In member function 'void COverview::redrawID(int, bool)':
/build/hyprexpo/overview.cpp:228:61: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
  228 |     Vector2D tileRenderSize = (pMonitor->vecSize - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
      |                                                             ^~~~~~~~~
/build/hyprexpo/overview.cpp:228:72: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
  228 |     Vector2D tileRenderSize = (pMonitor->vecSize - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
      |                                                                        ^~~~~~~~~
/build/hyprexpo/overview.cpp: In member function 'void COverview::onDamageReported()':
/build/hyprexpo/overview.cpp:308:51: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
  308 |     Vector2D    tileRenderSize = (SIZE - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
      |                                                   ^~~~~~~~~
/build/hyprexpo/overview.cpp:308:62: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
  308 |     Vector2D    tileRenderSize = (SIZE - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
      |                                                              ^~~~~~~~~
/build/hyprexpo/overview.cpp: In member function 'void COverview::close()':
/build/hyprexpo/overview.cpp:333:71: warning: narrowing conversion of '(((int)ID) % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  333 |     pos  = (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{ID % SIDE_LENGTH, ID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
      |                                                                    ~~~^~~~~~~~~~~~~
/build/hyprexpo/overview.cpp:333:89: warning: narrowing conversion of '(((int)ID) / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  333 |     pos  = (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{ID % SIDE_LENGTH, ID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
      |                                                                                      ~~~^~~~~~~~~~~~~
/build/hyprexpo/overview.cpp: In member function 'void COverview::onSwipeUpdate(double)':
/build/hyprexpo/overview.cpp:432:74: warning: narrowing conversion of '(((COverview*)this)->COverview::openedID % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  432 |         (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{openedID % SIDE_LENGTH, openedID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
      |                                                                 ~~~~~~~~~^~~~~~~~~~~~~
/build/hyprexpo/overview.cpp:432:98: warning: narrowing conversion of '(((COverview*)this)->COverview::openedID / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
  432 |         (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{openedID % SIDE_LENGTH, openedID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
      |                                                                                         ~~~~~~~~~^~~~~~~~~~~~~
[3/4] Building CXX object CMakeFiles/hyprexpo.dir/main.cpp.o
ninja: build stopped: subcommand failed.
matt1432 commented 1 month ago

I'm getting the same thing as @timhae

fufexan commented 1 month ago

Then the plugins need to be updated. @vaxerski

vaxerski commented 1 month ago

oh yea my bad

vaxerski commented 1 month ago

I'll update plugins once you fix the broken make installheaders @fufexan :) image

vaxerski commented 1 month ago

updated plugins.

lVentus commented 1 month ago

updated plugins.

now it is compiled but another error: failed to load the following plugins: /nix/store/...../lib/libhyprbars.so I checked the file, it exists

by the way, I am using v0.39.1 from unstable nix-pkgs, how can we get 0.40 for nixos?

fufexan commented 1 month ago

@lVentus it's currently blocked by the wayland-protocols update, since it's not in master yet. Until then, only the flake can be used. Otherwise, use the plugins with an older commit.

timhae commented 1 month ago

Thanks for the incredibly fast response. Unfortunately I still get an error for:

 -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project:

BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_SBINDIR
CMAKE_POLICY_DEFAULT_CMP0025

 CMake Generate step failed. Build files cannot be regenerated correctly.

Logan-Roelofs commented 1 month ago

I as well have been getting this error

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/vm9qzxvsv64zchms67ymxdfq5knavqlp-hyprbars
source root is hyprbars
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -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/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/share/doc/hyprbars -DCMAKE_INSTALL_INFODIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ns1zy0s81lm0xrzjqig3m0zps9k9792g-hyprbars-0.1  
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
--   Found hyprland, version 0.40.0
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found libudev, version 255
--   Found pangocairo, version 1.51.2
--   Found pixman-1, version 0.43.4
--   Found wayland-server, version 1.22.0
--   Found xkbcommon, version 1.5.0
-- Configuring done (0.9s)
CMake Error in CMakeLists.txt:
  Imported target "PkgConfig::deps" includes non-existent path

    "/nix/store/vl3j6jilsalx2db7lw7mn1cb6rrjm8a7-hyprland-0.40.0+date=2024-05-08_6a988d9//nix/store/1fnpqm69vqvg073r03nbg2mkg2jqgh81-hyprland-0.40.0+date=2024-05-08_6a988d9-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_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR
    CMAKE_POLICY_DEFAULT_CMP0025

CMake Generate step failed.  Build files cannot be regenerated correctly.

for reference my flake.nix has the following inputs

    hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";

    hyprland-plugins = {
      url = "github:hyprwm/hyprland-plugins";
      inputs.hyprland.follows = "hyprland";
    };

and my hyprland settings/config looks like this

{ inputs, config, pkgs, ... }:
{
  wayland.windowManager.hyprland = {
    enable = true;
    plugins = [
      inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
    ];
    settings = { 
      # all of my settings
    }
  };
} 
fufexan commented 1 month ago

Should be fixed by https://github.com/hyprwm/Hyprland/pull/5952.

Logan-Roelofs commented 1 month ago

I just tried to build and got the same error

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/vm9qzxvsv64zchms67ymxdfq5knavqlp-hyprbars
source root is hyprbars
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -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/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/doc/hyprbars -DCMAKE_INSTALL_INFODIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1  
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
--   Found hyprland, version 0.40.0
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found libudev, version 255
--   Found pangocairo, version 1.51.2
--   Found pixman-1, version 0.43.4
--   Found wayland-server, version 1.22.0
--   Found xkbcommon, version 1.5.0
-- Configuring done (0.9s)
CMake Error in CMakeLists.txt:
  Imported target "PkgConfig::deps" includes non-existent path

    "/nix/store/qd3f6x4a9v6wcbx33snmgfivpkxkyk5f-hyprland-0.40.0+date=2024-05-09_d7aed24//nix/store/ih2a7nj3218dpcl5kf9f8qzdyhyp8d0x-hyprland-0.40.0+date=2024-05-09_d7aed24-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_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR
    CMAKE_POLICY_DEFAULT_CMP0025

CMake Generate step failed.  Build files cannot be regenerated correctly.

This was after updating my flake inputs. Please let me know if I can provide any more information to help out :) also thank you very much for the help everyone!

lVentus commented 1 month ago

I just tried to build and got the same error

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/vm9qzxvsv64zchms67ymxdfq5knavqlp-hyprbars
source root is hyprbars
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -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/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/doc/hyprbars -DCMAKE_INSTALL_INFODIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1  
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
--   Found hyprland, version 0.40.0
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found libudev, version 255
--   Found pangocairo, version 1.51.2
--   Found pixman-1, version 0.43.4
--   Found wayland-server, version 1.22.0
--   Found xkbcommon, version 1.5.0
-- Configuring done (0.9s)
CMake Error in CMakeLists.txt:
  Imported target "PkgConfig::deps" includes non-existent path

    "/nix/store/qd3f6x4a9v6wcbx33snmgfivpkxkyk5f-hyprland-0.40.0+date=2024-05-09_d7aed24//nix/store/ih2a7nj3218dpcl5kf9f8qzdyhyp8d0x-hyprland-0.40.0+date=2024-05-09_d7aed24-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_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR
    CMAKE_POLICY_DEFAULT_CMP0025

CMake Generate step failed.  Build files cannot be regenerated correctly.

This was after updating my flake inputs. Please let me know if I can provide any more information to help out :) also thank you very much for the help everyone!

same

YaroKasear commented 1 month ago

I won't spam with the exact same build log. I think all I'll say is indeed, I'm failing to build plugins right now and I'm now watching that PR mentioned in anticipation.

fufexan commented 1 month ago

I just tried to build and got the same error

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/vm9qzxvsv64zchms67ymxdfq5knavqlp-hyprbars
source root is hyprbars
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -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/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/doc/hyprbars -DCMAKE_INSTALL_INFODIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/k0237xfvp5dnr1awm8310c3amp5v8kc8-hyprbars-0.1  
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
--   Found hyprland, version 0.40.0
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found libudev, version 255
--   Found pangocairo, version 1.51.2
--   Found pixman-1, version 0.43.4
--   Found wayland-server, version 1.22.0
--   Found xkbcommon, version 1.5.0
-- Configuring done (0.9s)
CMake Error in CMakeLists.txt:
  Imported target "PkgConfig::deps" includes non-existent path

    "/nix/store/qd3f6x4a9v6wcbx33snmgfivpkxkyk5f-hyprland-0.40.0+date=2024-05-09_d7aed24//nix/store/ih2a7nj3218dpcl5kf9f8qzdyhyp8d0x-hyprland-0.40.0+date=2024-05-09_d7aed24-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_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR
    CMAKE_POLICY_DEFAULT_CMP0025

CMake Generate step failed.  Build files cannot be regenerated correctly.

This was after updating my flake inputs. Please let me know if I can provide any more information to help out :) also thank you very much for the help everyone!

Does this happen with the PR mentioned above?

Logan-Roelofs commented 1 month ago

I have never built from a pr in a flake before, do you have any insight on how to do this? @fufexan

I gave hyprland.url = "github:hyprwm/Hyprland/pull/5952/head"; a go but I am getting the following error when building

fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:32 (add_subdirectory):
  The source directory

    /build/source/subprojects/udis86

  does not contain a CMakeLists.txt file.

here is the whole log file... log.txt

fufexan commented 1 month ago

@Logan-Roelofs the url has to be hyprland.url = "git+https://github.com/andresilva/Hyprland?ref=nix-build-improvements&submodules=1";.

I'll add more about this to the wiki ASAP.

fufexan commented 1 month ago

Moved all the build systems changes to https://github.com/hyprwm/Hyprland/pull/6002. This should unify CMake and Meson, and let Nix users build plugins again.

Please test, both nixers and non-nixers.

miathetrain commented 1 month ago

on NixOS, works for me. but hyprexpo specifically fails to build. unsure if related or not

/build/hyprexpo/overview.cpp:26:27: error: cannot convert 'const CWeakPointer<CMonitor>' to 'CMonitor*' in assignment

matt1432 commented 1 month ago

I'm getting this error when trying to build hyprexpo on nix:

Imported target "PkgConfig::deps" includes non-existent path

    "/nix/store/bvljn1ahjldsg1i975zhqaxq2zax87n5-hyprland-0.40.0+date=2024-05-10_ed3a888//nix/store/566yqcn9n7qnf1hc7xr6agzmhrkpdh42-hyprland-0.40.0+date=2024-05-10_ed3a888-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.

It looks like the path is doubled

fufexan commented 1 month ago

@matt1432 that should be fixed by https://github.com/hyprwm/Hyprland/pull/6002/commits/fc6beb3a98fce6f53766dbd3a2dde9e20fa54ee8.

matt1432 commented 1 month ago

@matt1432 that should be fixed by hyprwm/Hyprland@fc6beb3.

That PR does fix it. However I'm now getting the same error as @miathetrain which I'm assuming is a question of updating the plugin's code.

fufexan commented 1 month ago

Closing as https://github.com/hyprwm/Hyprland/pull/6002 was merged.

leon-erd commented 1 month ago

Unfortunately, I am still unable to build hyprexpo...

hyprexpo> building '/nix/store/7jp3gz15wklnfmls0wy5hxrp1smfyyz0-hyprexpo-0.1.drv'
hyprexpo> Running phase: unpackPhase
hyprexpo> unpacking source archive /nix/store/j2za8vzy171kmznyszha82d6j69kyxj0-hyprexpo
hyprexpo> source root is hyprexpo
hyprexpo> Running phase: patchPhase
hyprexpo> Running phase: updateAutotoolsGnuConfigScriptsPhase
hyprexpo> Running phase: configurePhase
hyprexpo> fixing cmake files...
hyprexpo> cmake flags: -GNinja -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/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/share/doc/hyprexpo -DCMAKE_INSTALL_INFODIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/fhzd2xx9001a6mmhzg056q2j9qlmpsc0-hyprexpo-0.1
hyprexpo> -- The C compiler identification is GNU 13.2.0
hyprexpo> -- The CXX compiler identification is GNU 13.2.0
hyprexpo> -- Detecting C compiler ABI info
hyprexpo> -- Detecting C compiler ABI info - done
hyprexpo> -- Check for working C compiler: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/gcc - skipped
hyprexpo> -- Detecting C compile features
hyprexpo> -- Detecting C compile features - done
hyprexpo> -- Detecting CXX compiler ABI info
hyprexpo> -- Detecting CXX compiler ABI info - done
hyprexpo> -- Check for working CXX compiler: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/g++ - skipped
hyprexpo> -- Detecting CXX compile features
hyprexpo> -- Detecting CXX compile features - done
hyprexpo> -- Found PkgConfig: /nix/store/vbk2n3094zyl9ywijks6a3d7s2i6wnfm-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
hyprexpo> -- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
hyprexpo> --   Found hyprland, version 0.40.0
hyprexpo> --   Found libdrm, version 2.4.120
hyprexpo> --   Found libinput, version 1.25.0
hyprexpo> --   Found libudev, version 255
hyprexpo> --   Found pangocairo, version 1.52.2
hyprexpo> --   Found pixman-1, version 0.43.4
hyprexpo> --   Found wayland-server, version 1.22.0
hyprexpo> --   Found xkbcommon, version 1.5.0
hyprexpo> -- Configuring done (0.9s)
hyprexpo> -- Generating done (0.0s)
hyprexpo> CMake Warning:
hyprexpo>   Manually-specified variables were not used by the project:
hyprexpo>
hyprexpo>     BUILD_TESTING
hyprexpo>     CMAKE_EXPORT_NO_PACKAGE_REGISTRY
hyprexpo>     CMAKE_INSTALL_BINDIR
hyprexpo>     CMAKE_INSTALL_DOCDIR
hyprexpo>     CMAKE_INSTALL_INCLUDEDIR
hyprexpo>     CMAKE_INSTALL_INFODIR
hyprexpo>     CMAKE_INSTALL_LIBEXECDIR
hyprexpo>     CMAKE_INSTALL_LOCALEDIR
hyprexpo>     CMAKE_INSTALL_MANDIR
hyprexpo>     CMAKE_INSTALL_OLDINCLUDEDIR
hyprexpo>     CMAKE_INSTALL_SBINDIR
hyprexpo>     CMAKE_POLICY_DEFAULT_CMP0025
hyprexpo>
hyprexpo>
hyprexpo> -- Build files have been written to: /build/hyprexpo/build
hyprexpo> cmake: enabled parallel building
hyprexpo> cmake: enabled parallel installing
hyprexpo> Running phase: buildPhase
hyprexpo> build flags: -j8
hyprexpo> [1/4] Building CXX object CMakeFiles/hyprexpo.dir/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o
hyprexpo> [2/4] Building CXX object CMakeFiles/hyprexpo.dir/overview.cpp.o
hyprexpo> FAILED: CMakeFiles/hyprexpo.dir/overview.cpp.o
hyprexpo> /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/g++ -Dhyprexpo_EXPORTS -isystem /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland/protocols -isystem /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland -isystem /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland/wlr -isystem /nix/store/qrv6z37vprzl8yiwl6m8yg58sk6h7zz5-libdrm-2.4.120-dev/include/libdrm -isystem /nix/store/xr0awmvc5h69r8ixmys3657fxz77xif1-cairo-1.18.0-dev/include/cairo -isystem /nix/store/zgnn357b7q3513bzmh17k6rcfp0c8vfz-glib-2.80.0-dev/include/glib-2.0 -isystem /nix/store/3xsbahrqqc4fc3gknmjj9j9687n4hiz0-glib-2.80.0/lib/glib-2.0/include -isystem /nix/store/7pksmb36lizqi1q4bq6gk19bjhvvsd90-pango-1.52.2-dev/include/pango-1.0 -isystem /nix/store/f51jd8nl5kpzxyw069rxskp7qijpw6m9-harfbuzz-8.4.0-dev/include/harfbuzz -O3 -DNDEBUG -std=gnu++23 -fPIC -MD -MT CMakeFiles/hyprexpo.dir/overview.cpp.o -MF CMakeFiles/hyprexpo.dir/overview.cpp.o.d -o CMakeFiles/hyprexpo.dir/overview.cpp.o -c /build/hyprexpo/overview.cpp
hyprexpo> /build/hyprexpo/overview.cpp: In constructor 'COverview::COverview(PHLWORKSPACE, bool)':
hyprexpo> /build/hyprexpo/overview.cpp:26:27: error: cannot convert 'const CWeakPointer<CMonitor>' to 'CMonitor*' in assignment
hyprexpo>    26 |     pMonitor            = PMONITOR;
hyprexpo>       |                           ^~~~~~~~
hyprexpo>       |                           |
hyprexpo>       |                           const CWeakPointer<CMonitor>
hyprexpo> /build/hyprexpo/overview.cpp:120:38: error: cannot convert 'const CWeakPointer<CMonitor>' to 'CMonitor*'
hyprexpo>   120 |         g_pHyprRenderer->beginRender(PMONITOR, fakeDamage, RENDER_MODE_FULL_FAKE, nullptr, &image.fb);
hyprexpo>       |                                      ^~~~~~~~
hyprexpo>       |                                      |
hyprexpo>       |                                      const CWeakPointer<CMonitor>
hyprexpo> In file included from /build/hyprexpo/overview.cpp:4:
hyprexpo> /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland/src/render/Renderer.hpp:77:32: note:   initializing argument 1 of 'bool CHyprRenderer::beginRender(CMonitor*, CRegion&, eRenderMode, wlr_buffer*, CFramebuffer*, bool)'
hyprexpo>    77 |     bool beginRender(CMonitor* pMonitor, CRegion& damage, eRenderMode mode = RENDER_MODE_NORMAL, wlr_buffer* buffer = nullptr, CFramebuffer* fb = nullptr, bool simple = false);
hyprexpo>       |                      ~~~~~~~~~~^~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:138:46: error: cannot convert 'const CWeakPointer<CMonitor>' to 'CMonitor*'
hyprexpo>   138 |             g_pHyprRenderer->renderWorkspace(PMONITOR, PWORKSPACE, &now, monbox);
hyprexpo>       |                                              ^~~~~~~~
hyprexpo>       |                                              |
hyprexpo>       |                                              const CWeakPointer<CMonitor>
hyprexpo> /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland/src/render/Renderer.hpp:116:46: note:   initializing argument 1 of 'void CHyprRenderer::renderWorkspace(CMonitor*, PHLWORKSPACE, timespec*, const CBox&)'
hyprexpo>   116 |     void           renderWorkspace(CMonitor* pMonitor, PHLWORKSPACE pWorkspace, timespec* now, const CBox& geometry);
hyprexpo>       |                                    ~~~~~~~~~~^~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:146:46: error: cannot convert 'const CWeakPointer<CMonitor>' to 'CMonitor*'
hyprexpo>   146 |             g_pHyprRenderer->renderWorkspace(PMONITOR, PWORKSPACE, &now, monbox);
hyprexpo>       |                                              ^~~~~~~~
hyprexpo>       |                                              |
hyprexpo>       |                                              const CWeakPointer<CMonitor>
hyprexpo> /nix/store/bm8jq9aj112w159aj6zp09gqrb5ylgjn-hyprland-0.40.0+date=2024-05-12_fd35b35-dev/include/hyprland/src/render/Renderer.hpp:116:46: note:   initializing argument 1 of 'void CHyprRenderer::renderWorkspace(CMonitor*, PHLWORKSPACE, timespec*, const CBox&)'
hyprexpo>   116 |     void           renderWorkspace(CMonitor* pMonitor, PHLWORKSPACE pWorkspace, timespec* now, const CBox& geometry);
hyprexpo>       |                                    ~~~~~~~~~~^~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:166:82: warning: narrowing conversion of '(currentid % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   166 |     pos.create((-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{currentid % SIDE_LENGTH, currentid / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize),
hyprexpo>       |                                                                        ~~~~~~~~~~^~~~~~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:166:107: warning: narrowing conversion of '(currentid / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   166 |     pos.create((-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{currentid % SIDE_LENGTH, currentid / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize),
hyprexpo>       |                                                                                                 ~~~~~~~~~~^~~~~~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp: In member function 'void COverview::redrawID(int, bool)':
hyprexpo> /build/hyprexpo/overview.cpp:228:61: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   228 |     Vector2D tileRenderSize = (pMonitor->vecSize - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
hyprexpo>       |                                                             ^~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:228:72: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   228 |     Vector2D tileRenderSize = (pMonitor->vecSize - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
hyprexpo>       |                                                                        ^~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp: In member function 'void COverview::onDamageReported()':
hyprexpo> /build/hyprexpo/overview.cpp:308:51: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   308 |     Vector2D    tileRenderSize = (SIZE - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
hyprexpo>       |                                                   ^~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:308:62: warning: narrowing conversion of '((COverview*)this)->COverview::GAP_WIDTH' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   308 |     Vector2D    tileRenderSize = (SIZE - Vector2D{GAP_WIDTH, GAP_WIDTH} * (SIDE_LENGTH - 1)) / SIDE_LENGTH;
hyprexpo>       |                                                              ^~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp: In member function 'void COverview::close()':
hyprexpo> /build/hyprexpo/overview.cpp:333:71: warning: narrowing conversion of '(((int)ID) % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   333 |     pos  = (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{ID % SIDE_LENGTH, ID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
hyprexpo>       |                                                                    ~~~^~~~~~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:333:89: warning: narrowing conversion of '(((int)ID) / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   333 |     pos  = (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{ID % SIDE_LENGTH, ID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
hyprexpo>       |                                                                                      ~~~^~~~~~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp: In member function 'void COverview::onSwipeUpdate(double)':
hyprexpo> /build/hyprexpo/overview.cpp:432:74: warning: narrowing conversion of '(((COverview*)this)->COverview::openedID % ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   432 |         (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{openedID % SIDE_LENGTH, openedID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
hyprexpo>       |                                                                 ~~~~~~~~~^~~~~~~~~~~~~
hyprexpo> /build/hyprexpo/overview.cpp:432:98: warning: narrowing conversion of '(((COverview*)this)->COverview::openedID / ((COverview*)this)->COverview::SIDE_LENGTH)' from 'int' to 'double' [-Wnarrowing]
hyprexpo>   432 |         (-((pMonitor->vecSize / (double)SIDE_LENGTH) * Vector2D{openedID % SIDE_LENGTH, openedID / SIDE_LENGTH}) * pMonitor->scale) * (pMonitor->vecSize / tileSize);
hyprexpo>       |                                                                                         ~~~~~~~~~^~~~~~~~~~~~~
hyprexpo> [3/4] Building CXX object CMakeFiles/hyprexpo.dir/main.cpp.o
hyprexpo> ninja: build stopped: subcommand failed.
fufexan commented 1 month ago

@leon-erd yeah it needs to be updated. Not a packaging issue.