I updated my flake.lock and hyprland no longer builds correctly, says hyprutils is the wrong version. I cannot find any resources online on how to change the git commit hyprutils points to in flake.nix
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/k9hq293g14y5c90s8hxlgm0dd44hsvb0-source
source root is source
@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=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/share/doc/Hyprland -DCMAKE_INSTALL_INFODIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ivy273n8cznzhw8nk2gb6h8klywwi7f8-hyprland-0.41.1+date=2024-06-19_6d21014-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/dh0az01pp8lydc4xl9chwfz4vr0k6zhn-hyprland-0.41.1+date=2024-06-19_6d21014-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/dh0az01pp8lydc4xl9chwfz4vr0k6zhn-hyprland-0.41.1+date=2024-06-19_6d21014-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/zansxqviinfh345skvpy5f0z58snr229-gcc-wrapper-13.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/zansxqviinfh345skvpy5f0z58snr229-gcc-wrapper-13.3.0/bin/ranlib -DCMAKE_AR=/nix/store/zansxqviinfh345skvpy5f0z58snr229-gcc-wrapper-13.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/x8xiiybmcfg58al8sgxabhqpci53zvgd-hyprland-0.41.1+date=2024-06-19_6d21014 -DNO_XWAYLAND:BOOL=FALSE -DLEGACY_RENDERER:BOOL=FALSE -DNO_SYSTEMD:BOOL=FALSE
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/zansxqviinfh345skvpy5f0z58snr229-gcc-wrapper-13.3.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/zansxqviinfh345skvpy5f0z58snr229-gcc-wrapper-13.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Found Python3: /nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/bin/python3.11 (found version "3.11.9") found components: Interpreter
[0mBuilding itab.c/itab.h...[0m
-- Setting up wlroots
-- Found PkgConfig: /nix/store/2hfzaqv42iwrpk3ya24cnjsklz6f68lw-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Found WaylandScanner at /nix/store/wbl7gr8h4kq166mvksql9pkwn7cg3i6p-wayland-1.22.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/zpvm7frfza5zz7asifi1xh0ca8h1v8n8-wayland-protocols-1.35/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /nix/store/a5vcvrkh1c2ng5kr584g3zw3991vnhks-libGL-1.7.0/lib/libOpenGL.so found components: GLES3
-- Checking for modules 'xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.1.4'
-- Requested 'hyprutils >= 0.1.4' but version of hyprutils is 0.1.2
You may find new versions of hyprutils at https://github.com/hyprwm/hyprutils
[31mCMake Error at /nix/store/ih3wsahlr3d787jc4kzqizp6syq6hy29-cmake-3.29.3/share/cmake-3.29/Modules/FindPkgConfig.cmake:634 (message):
The following required packages were not found:
- hyprutils>=0.1.4
Call Stack (most recent call first):
/nix/store/ih3wsahlr3d787jc4kzqizp6syq6hy29-cmake-3.29.3/share/cmake-3.29/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal)
CMakeLists.txt:111 (pkg_check_modules)
[0m
-- Configuring incomplete, errors occurred!
How to reproduce
Update flake.lock and run sudo nixos-rebuild switch
Regression?
Yes
System Info and Version
System/Version info
```sh Hyprland, built from branch at commit 236150b3c5227bbfbe46d2610c739a386afdca1f (). Date: 2024-06-18 Tag: , commits: 236150b3c5227bbfbe46d2610c739a386afdca1f flags: (if any) System Information: System name: Linux Node name: LeMachine Release: 6.9.4 Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Jun 12 09:39:59 UTC 2024 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] [1002:7480] (rev c1) (prog-if 00 [VGA controller]) c5:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c2) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240616.b60ebf5" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/darius/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/y29cbwfiwb9nyi4db4apk9dgylzdjm1v-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $mainMod=SUPER source=/nix/store/8a39xfxfq78r0fsq34cda4l522gwpmdb-source/themes/mocha.conf source=/nix/store/qslc7kws7rnm5lrrgdmyp39674l2xc69-hyprland-sapphire-accent.conf animations { enabled=yes } decoration { blur { enabled=true ignore_opacity=true new_optimizations=true passes=3 size=5 } active_opacity=0.970000 inactive_opacity=0.770000 rounding=10 } dwindle { preserve_split=yes } general { border_size=2 gaps_in=5 gaps_out=5 layout=dwindle } gestures { workspace_swipe=on } input { touchpad { natural_scroll=yes } follow_mouse=1 kb_layout=us kb_options=caps:swapescape sensitivity=0.200000 } misc { force_default_wallpaper=0 vfr=true vrr=1 } bind=$mainMod, J, workspace, -1 bind=$mainMod, K, workspace, +1 bind=$mainMod, N, movefocus, l bind=$mainMod, left, movefocus, l bind=$mainMod, right, movefocus, r bind=$mainMod, up, movefocus, u bind=$mainMod, down, movefocus, d bind=$mainMod, 1, workspace, 1 bind=$mainMod, 2, workspace, 2 bind=$mainMod, 3, workspace, 3 bind=$mainMod, 4, workspace, 4 bind=$mainMod, 5, workspace, 5 bind=$mainMod, 6, workspace, 6 bind=$mainMod, 7, workspace, 7 bind=$mainMod, 8, workspace, 8 bind=$mainMod, 9, workspace, 9 bind=$mainMod, 0, workspace, 10 bind=$mainMod SHIFT, 1, movetoworkspace, 1 bind=$mainMod SHIFT, 2, movetoworkspace, 2 bind=$mainMod SHIFT, 3, movetoworkspace, 3 bind=$mainMod SHIFT, 4, movetoworkspace, 4 bind=$mainMod SHIFT, 5, movetoworkspace, 5 bind=$mainMod SHIFT, 6, movetoworkspace, 6 bind=$mainMod SHIFT, 7, movetoworkspace, 7 bind=$mainMod SHIFT, 8, movetoworkspace, 8 bind=$mainMod SHIFT, 9, movetoworkspace, 9 bind=$mainMod SHIFT, 0, movetoworkspace, 10 bind=$mainMod, L, exec, /nix/store/qnhcl0rkipbjkfg78xnq5ki63xhgsj9i-hyprlock-0.3.0-unstable-2024-04-24/bin/hyprlock bind=$mainMod, V, togglefloating, bind=$mainMod SHIFT, J, togglesplit, bind=SUPER, T, exec, /nix/store/7x940s3yrh6j9341572da0hfgdblrsxa-handlr-regex-0.10.0/bin/handlr launch x-scheme-handler/terminal bind=SUPER, B, exec, /nix/store/3qa419z85r1wwxndqifq7hn54fi9mkzy-brave-1.66.118/bin/brave bind=, XF86MonBrightnessUp, exec, /nix/store/2jzm4kd83c27ssk78bc7c38hxm25swid-brightnessctl-0.5.1/bin/brightnessctl set 5%+ bind=, XF86MonBrightnessDown, exec, /nix/store/2jzm4kd83c27ssk78bc7c38hxm25swid-brightnessctl-0.5.1/bin/brightnessctl set 5%- bind=, XF86AudioRaiseVolume, exec, /nix/store/j5kkb8khfg3vdqfbhxdp15c6va0w7qqd-wireplumber-0.5.3/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bind=, XF86AudioLowerVolume, exec, /nix/store/j5kkb8khfg3vdqfbhxdp15c6va0w7qqd-wireplumber-0.5.3/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bind=, XF86AudioMute, exec, /nix/store/j5kkb8khfg3vdqfbhxdp15c6va0w7qqd-wireplumber-0.5.3/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind=$mainMod, P, exec, nix-shell /nix/store/hj4cahwf66b2rc1yk5197jvzcdnm2hra-screenshot-script.sh s # drag to snip an area / click on a window to print it bind=$mainMod Ctrl, P, exec, nix-shell /nix/store/hj4cahwf66b2rc1yk5197jvzcdnm2hra-screenshot-script.sh sf # frozen screen, drag to snip an area / click on a window to print it bind=$mainMod Alt, P, exec, nix-shell /nix/store/hj4cahwf66b2rc1yk5197jvzcdnm2hra-screenshot-script.sh m # print focused monitor bind=, Print, exec, nix-shell /nix/store/hj4cahwf66b2rc1yk5197jvzcdnm2hra-screenshot-script.sh p # print all monitor outputs bind=SUPER, Q, killactive bind=SUPERALTSHIFT, Q, exit bind=,XF86AudioNext,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl next bind=,XF86AudioPrev,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl previous bind=,XF86AudioPlay,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl play-pause bind=,XF86AudioStop,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl stop bind=ALT,XF86AudioNext,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctld shift bind=ALT,XF86AudioPrev,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctld unshift bind=ALT,XF86AudioPlay,exec,systemctl --user restart playerctld bind=SUPERSHIFT,w,exec,/nix/store/zcb54wrd7gcb2kn7lcfg7xbg14dsnra2-mako-1.9.0/bin/makoctl restore bind=SUPER,A,exec,/nix/store/w3ljrd3plaz0s2g7rfa0mc0hxriycfqs-wofi-1.4.1/bin/wofi -S drun -W 25% -H 60% bindm=$mainMod,mouse:272,movewindow bindm=$mainMod,mouse:273,resizewindow bindm=$mainMod, Z, movewindow env=GDK_BACKEND,wayland,x11,* env=SDL_VIDEODRIVER,wayland env=CLUTTER_BACKEND,wayland env=XDG_CURRENT_DESKTOP,Hyprland env=XDG_SESSION_TYPE,wayland env=XDG_SESSION_DESKTOP,Hyprland env=QT_AUTO_SCREEN_SCALE_FACTOR,1 env=QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env=QT_QPA_PLATFORM,wayland;xcb monitor=eDP-2,2560x1600@165,0x0,1,vrr,1 monitor=eDP-1,2560x1600@165,0x0,1,vrr,1 exec-once = [workspace 1 silent] /nix/store/3qa419z85r1wwxndqifq7hn54fi9mkzy-brave-1.66.118/bin/brave exec-once = [workspace 2 silent] /nix/store/2bgpizcvw1fnvrb9zrmkznkh56jvlw0s-kitty-0.35.1/bin/kitty --hold sh -c "tmux -u" exec-once = /nix/store/m217hcycl4vr2r8r3rsxlfzgq4r0rkrg-network-manager-applet-1.36.0/bin/nm-applet exec-once = /nix/store/fzq288gc6lc3w1p05lhjfvgbyyx1ixww-blueman-2.4.2/bin/blueman-applet exec-once = /nix/store/adzax6kfwnvi5xx2mv67ggzs5914xwmd-polkit-kde-agent-1-6.0.5/bin/polkit-kde-authentication-agent-1 Config File: /nix/store/8a39xfxfq78r0fsq34cda4l522gwpmdb-source/themes/mocha.conf: Read Succeeded $rosewater = rgb(f5e0dc) $rosewaterAlpha = f5e0dc $flamingo = rgb(f2cdcd) $flamingoAlpha = f2cdcd $pink = rgb(f5c2e7) $pinkAlpha = f5c2e7 $mauve = rgb(cba6f7) $mauveAlpha = cba6f7 $red = rgb(f38ba8) $redAlpha = f38ba8 $maroon = rgb(eba0ac) $maroonAlpha = eba0ac $peach = rgb(fab387) $peachAlpha = fab387 $yellow = rgb(f9e2af) $yellowAlpha = f9e2af $green = rgb(a6e3a1) $greenAlpha = a6e3a1 $teal = rgb(94e2d5) $tealAlpha = 94e2d5 $sky = rgb(89dceb) $skyAlpha = 89dceb $sapphire = rgb(74c7ec) $sapphireAlpha = 74c7ec $blue = rgb(89b4fa) $blueAlpha = 89b4fa $lavender = rgb(b4befe) $lavenderAlpha = b4befe $text = rgb(cdd6f4) $textAlpha = cdd6f4 $subtext1 = rgb(bac2de) $subtext1Alpha = bac2de $subtext0 = rgb(a6adc8) $subtext0Alpha = a6adc8 $overlay2 = rgb(9399b2) $overlay2Alpha = 9399b2 $overlay1 = rgb(7f849c) $overlay1Alpha = 7f849c $overlay0 = rgb(6c7086) $overlay0Alpha = 6c7086 $surface2 = rgb(585b70) $surface2Alpha = 585b70 $surface1 = rgb(45475a) $surface1Alpha = 45475a $surface0 = rgb(313244) $surface0Alpha = 313244 $base = rgb(1e1e2e) $baseAlpha = 1e1e2e $mantle = rgb(181825) $mantleAlpha = 181825 $crust = rgb(11111b) $crustAlpha = 11111b Config File: /nix/store/qslc7kws7rnm5lrrgdmyp39674l2xc69-hyprland-sapphire-accent.conf: Read Succeeded $accent=$sapphire $accentAlpha=$sapphireAlpha ======Config-End======== ```Description
I updated my flake.lock and hyprland no longer builds correctly, says hyprutils is the wrong version. I cannot find any resources online on how to change the git commit hyprutils points to in flake.nix
nix flake metadata
:Nix build log:
How to reproduce
Update flake.lock and run
sudo nixos-rebuild switch
Crash reports, logs, images, videos
nix-build-log.log