Skip to content

Mismatch header versions on nixos #26

@Uncorrupt3318

Description

@Uncorrupt3318

Hi, I'm trying to install this plugin, but it doesn't load, it says:
hyprsplit: Failure in initialization: Version mismatch (headers ver is not equal to running hyprland ver.

I'm not sure if it's a bug or a problem with my config :/

flake.nix

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
    hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
    hyprsplit = {
      url = "github:shezdy/hyprsplit/main";
      inputs.hyprland.follows = "hyprland";
    };
    home-manager = {
      url = "github:nix-community/home-manager/release-24.05";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  
  ...
  
    outputs = { nixpkgs, hyprland, home-manager, ... } @ inputs:
  {
    nixosConfigurations.kubapc = nixpkgs.lib.nixosSystem {
      specialArgs = { inherit inputs; };
      
      ...
      
        home-manager.nixosModules.home-manager
        {
          home-manager.extraSpecialArgs = { inherit inputs; };
          home-manager.useGlobalPkgs = true;
          home-manager.useUserPackages = true;
          home-manager.users.jakub = import ./home.nix;
 
          # Optionally, use home-manager.extraSpecialArgs to pass
          # arguments to home.nix
        }
      ];
   };
    
  };
}

home.nix

{ config, pkgs, inputs, ... }:

{
  wayland.windowManager.hyprland.enable = true;
  wayland.windowManager.hyprland.extraConfig = ''${builtins.readFile ./dotfiles/hypr/hyprland.conf}'';
  wayland.windowManager.hyprland.plugins = [ inputs.hyprsplit.packages.${pkgs.stdenv.hostPlatform.system}.hyprsplit ];
}

configuration.nix

  programs.hyprland.enable = true;
  programs.hyprland.package = inputs.hyprland.packages."${pkgs.system}".hyprland;

Could someone give me a hand?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions