diff --git a/meson.build b/meson.build index 224c9248..6a94dee6 100644 --- a/meson.build +++ b/meson.build @@ -96,5 +96,5 @@ import('pkgconfig').generate( url: 'https://github.com/hyprwm/Hyprland', description: 'Hyprland header files', install_dir: pkg_install_dir, - subdirs: ['', 'hyprland/protocols'], + subdirs: ['', 'hyprland/protocols', 'hyprland/wlroots'], ) diff --git a/nix/default.nix b/nix/default.nix index eee9e6c4..5b59e514 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -113,6 +113,10 @@ in }' ''; + postInstall = '' + ln -s ${wlroots}/include/wlr $dev/include/hyprland/wlroots + ''; + passthru.providedSessions = ["hyprland"]; meta = with lib; { diff --git a/nix/update-inputs.sh b/nix/update-inputs.sh index f4b63f9c..6db18606 100755 --- a/nix/update-inputs.sh +++ b/nix/update-inputs.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S nix shell nixpkgs#gawk nixpkgs#git nixpkgs#moreutils nixpkgs#jq nixpkgs#ripgrep -c bash +#!/usr/bin/env -S nix shell nixpkgs#gawk nixpkgs#git nixpkgs#gnused nixpkgs#moreutils nixpkgs#jq nixpkgs#ripgrep -c bash set -ex @@ -16,6 +16,9 @@ if [ "$SUB_REV" != "$CRT_REV" ]; then # remove "dirty" mark from lockfile jq