Hyprland: hyprpm headers missing even when updating

Hyprland Version

Hyprland, built from branch  at commit v0.34.0  ().
Date: 2024-01-01
Tag: 

flags: (if any)

it also doesn’t work on the flake development version

Bug or Regression?

Bug

Description

hyprpm told me that i should run hyprpm update because the headers were missing. i did that, and headers were still missing when running hyprpm update

How to reproduce

On NixOS 24.05, type hyprpm update.

Crash reports, logs, images, videos

hyprpm update output:

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                      
✔ cloned                                                                                                                                                                                                     
✔ checked out to running ver                                                                                                                                                                                 
! configuring Hyprland                                                                                                                                                                                       
✔ configured Hyprland                                                                                                                                                                                        
! in order to install the sources, you will need to input your password.                                                                                                                                     
  If nothing pops up, make sure you have polkit and an authentication daemon running.
✖ failed to install headers with error code 2                                                                                                                                                                
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                                                                                                                           

✖ Headers missing. Please run hyprpm update to fix those.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Same issue with Arch Linux too

I was getting the same error, on arch with hyprland Tag: v0.39.1, commits: 4460 until I stumbled upon this #4682

Just make sure you have cpio installed.

On arch, you can get cpio with sudo pacman -S cpio.

This is also failing on Arch Linux, I don’t think it’s a NixOS thing.

relevant details are the output of whatever cmd you’re running with -v

I’m still getting the error on Arch Linux, I’ve updated and rebooted just to be sure. Here are the relevant details:

╰─>$ hyprctl version                                                                                                                                              23:23:34
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)