Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Build Plugin #58

Open
wolfenxx opened this issue Aug 18, 2024 · 6 comments
Open

Unable to Build Plugin #58

wolfenxx opened this issue Aug 18, 2024 · 6 comments

Comments

@wolfenxx
Copy link

wolfenxx commented Aug 18, 2024

Hey guys

I have a flake.nix set up following your example almost to the letter in here (minor difference being the module is in a separate file) https://github.com/levnikmyskin/hyprland-virtual-desktops?tab=readme-ov-file#installing-on-nixos-with-homemanager, however I'm getting some build errors and I'm not sure how to resolve them
20240818_17h38m16s_grim

flake.nix
flake.txt

home.nix
home.txt

Any help would be appreciated

@levnikmyskin
Copy link
Owner

mh these are indeed weird errors. Are you on "rolling" nix os or stable nix os? Also what version of hyprland are you building?

@wiillou as usual, I'll ask for your help regarding nixos stuff 🙏

@wolfenxx
Copy link
Author

@levnikmyskin it's unstable nixos
nixpkgs.url = "nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.follows = "hyprland-virtual-desktops/hyprland"; hyprland-virtual-desktops.url = "github:levnikmyskin/hyprland-virtual-desktops";
I've tried rolling with stable release but same issue. I have a feeling there may be "crap" left over in my system from all this experimenting that's causing issues. I wanna confirm in a vm before I nuke my PC but hyprland on a vm is a bit weird

@barthofu
Copy link

Hey! Same problem here, i tested with the last version 2.2.4 (which btw shows as 2.2.2 as it has't been updated in the flake.nix file.

@barthofu
Copy link

Said nothing, i fixed it by adding inputs.hyprland.follows = "hyprland" in my flake input;

hyprland-virtual-desktops = {
      url = "https://github.com/levnikmyskin/hyprland-virtual-desktops/archive/refs/tags/v2.2.4.tar.gz";
      inputs.hyprland.follows = "hyprland";
};

@barthofu
Copy link

Thanks a lot for this plugin btw, it is a life saver!

@levnikmyskin
Copy link
Owner

yes flake.nix is not really maintained as I'm on arch and not on nixos. Please open a PR if this needs fixing 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants