aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-07-21 13:09:54 +0200
committerGitHub <[email protected]>2024-07-21 13:09:54 +0200
commit016da234d0e852de3ef20eb2e89ac58d2a85f6e7 (patch)
tree496085987176551b0794fffc069877d44943e2f1 /nix
parentf642fb97df5c69267a03452533de383ff8023570 (diff)
downloadHyprland-016da234d0e852de3ef20eb2e89ac58d2a85f6e7.tar.gz
Hyprland-016da234d0e852de3ef20eb2e89ac58d2a85f6e7.zip
Core: Move to aquamarine (#6608)
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix3
-rw-r--r--nix/overlays.nix1
-rwxr-xr-xnix/update-wlroots.sh17
3 files changed, 4 insertions, 17 deletions
diff --git a/nix/default.nix b/nix/default.nix
index a2302688..7775b729 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -6,6 +6,7 @@
makeWrapper,
cmake,
ninja,
+ aquamarine,
binutils,
cairo,
expat,
@@ -104,6 +105,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
buildInputs = lib.concatLists [
[
+ aquamarine
cairo
expat
fribidi
@@ -136,6 +138,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
(lib.optionals stdenv.hostPlatform.isMusl [libexecinfo])
(lib.optionals enableXWayland [
xorg.libxcb
+ xorg.libXcursor
xorg.libXdmcp
xorg.xcbutil
xorg.xcbutilerrors
diff --git a/nix/overlays.nix b/nix/overlays.nix
index a4e1df37..9d100d51 100644
--- a/nix/overlays.nix
+++ b/nix/overlays.nix
@@ -21,6 +21,7 @@ in {
# Packages for variations of Hyprland, dependencies included.
hyprland-packages = lib.composeManyExtensions [
# Dependencies
+ inputs.aquamarine.overlays.default
inputs.hyprcursor.overlays.default
inputs.hyprlang.overlays.default
inputs.hyprutils.overlays.default
diff --git a/nix/update-wlroots.sh b/nix/update-wlroots.sh
deleted file mode 100755
index 01f5cd83..00000000
--- a/nix/update-wlroots.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env -S nix shell nixpkgs#gawk nixpkgs#git nixpkgs#gnused nixpkgs#ripgrep -c bash
-
-# get wlroots revision from submodule
-SUB_REV=$(git submodule status | rg wlroots | awk '{ print substr($1,2) }')
-# and from lockfile
-CRT_REV=$(rg rev flake.nix | awk '{ print substr($3, 2, 40) }')
-
-if [ "$SUB_REV" != "$CRT_REV" ]; then
- echo "Updating wlroots..."
- # update wlroots to submodule revision
- sed -Ei "s/\w{40}/$SUB_REV/g" flake.nix
- nix flake lock
-
- echo "wlroots: $CRT_REV -> $SUB_REV"
-else
- echo "wlroots is up to date!"
-fi