From a06f1bc4513fa7807698a24c6dd8b381c3fd1f2e Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 15 Jun 2024 00:46:32 +0530 Subject: [PATCH] hyprland: remove hyprland pin FIXME: add follows back if https://github.com/NixOS/nixpkgs/pull/319131 is merged and available in nixos-unstable hyprutils not available on nixpkgs yet --- flake.lock | 172 +++++++++++++++++++++++++++++++++++++++++++++-------- flake.nix | 7 +-- 2 files changed, 148 insertions(+), 31 deletions(-) diff --git a/flake.lock b/flake.lock index a0880808..c3d8cf97 100644 --- a/flake.lock +++ b/flake.lock @@ -636,6 +636,35 @@ "type": "github" } }, + "hyprcursor_2": { + "inputs": { + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1717181720, + "narHash": "sha256-yv+QZWsusu/NWjydkxixHC2g+tIJ9v+xkE2EiVpJj6g=", + "owner": "hyprwm", + "repo": "hyprcursor", + "rev": "9e27a2c2ceb1e0b85bd55b0afefad196056fe87c", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprcursor", + "type": "github" + } + }, "hypridle": { "inputs": { "hyprlang": "hyprlang_2", @@ -660,40 +689,58 @@ }, "hyprland": { "inputs": { - "hyprcursor": [ - "hyprcursor" - ], - "hyprcursor": [ - "hyprcursor" - ], + "hyprcursor": "hyprcursor_2", "hyprlang": "hyprlang_3", + "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": "nixpkgs_4", "systems": "systems_8", - "xdph": [ - "xdph" - ] + "xdph": "xdph" }, "locked": { - "lastModified": 1715701512, - "narHash": "sha256-WDu35MgBgfaBM7OFnA9YotU9iJEYQrWKdljAJ3I5Gd0=", + "lastModified": 1718385012, + "narHash": "sha256-kolSyxS6WsO8ZlVms5oL09YNS1NieIJwsjQnHxvCsjg=", "ref": "refs/heads/main", - "rev": "4cdddcfe466cb21db81af0ac39e51cc15f574da9", - "revCount": 4686, + "rev": "12ce06f39b2194685ddeadf656ebf2d334836992", + "revCount": 4827, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" }, "original": { - "rev": "4cdddcfe466cb21db81af0ac39e51cc15f574da9", "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" } }, "hyprland-protocols": { + "inputs": { + "nixpkgs": [ + "hyprland", + "xdph", + "nixpkgs" + ], + "systems": [ + "hyprland", + "xdph", + "systems" + ] + }, + "locked": { + "lastModified": 1691753796, + "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=", + "owner": "hyprwm", + "repo": "hyprland-protocols", + "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-protocols", + "type": "github" + } + }, + "hyprland-protocols_2": { "inputs": { "nixpkgs": [ "xdph", @@ -767,6 +814,10 @@ }, "hyprlang_3": { "inputs": { + "hyprutils": [ + "hyprland", + "hyprutils" + ], "nixpkgs": [ "hyprland", "nixpkgs" @@ -777,11 +828,11 @@ ] }, "locked": { - "lastModified": 1713121246, - "narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=", + "lastModified": 1717881852, + "narHash": "sha256-XeeVoKHQgfKuXoP6q90sUqKyl7EYy3ol2dVZGM+Jj94=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706", + "rev": "ec6938c66253429192274d612912649a0cfe4d28", "type": "github" }, "original": { @@ -857,6 +908,31 @@ "type": "github" } }, + "hyprutils": { + "inputs": { + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1717881334, + "narHash": "sha256-a0inRgJhPL6v9v7RPM/rx1kbXdfe3xJA1c9z0ZkYnh4=", + "owner": "hyprwm", + "repo": "hyprutils", + "rev": "0693f9398ab693d89c9a0aa3b3d062dd61b7a60e", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprutils", + "type": "github" + } + }, "hyprwayland-scanner": { "inputs": { "nixpkgs": [ @@ -869,11 +945,11 @@ ] }, "locked": { - "lastModified": 1715608589, - "narHash": "sha256-vimNaLjLcoNIvBhF37GaB6PRYEvKMamY3UnDE9M5MW8=", + "lastModified": 1717784906, + "narHash": "sha256-YxmfxHfWed1fosaa7fC1u7XoKp1anEZU+7Lh/ojRKoM=", "owner": "hyprwm", "repo": "hyprwayland-scanner", - "rev": "65c2636484e5cb00583b8a7446c3fb657f568883", + "rev": "0f30f9eca6e404130988554accbb64d1c9ec877d", "type": "github" }, "original": { @@ -1220,6 +1296,22 @@ } }, "nixpkgs_4": { + "locked": { + "lastModified": 1717974879, + "narHash": "sha256-GTO3C88+5DX171F/gVS3Qga/hOs/eRMxPFpiHq2t+D8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "c7b821ba2e1e635ba5a76d299af62821cbcb09f3", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1718318537, "narHash": "sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY=", @@ -1408,14 +1500,14 @@ "lanzaboote": "lanzaboote", "nix-flatpak": "nix-flatpak", "nix-vscode-extensions": "nix-vscode-extensions", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "nixpkgs-edge": "nixpkgs-edge", "nur": "nur", "nur": "nur", "pyprland": "pyprland", "wallust": "wallust", "waybar": "waybar", - "xdph": "xdph" + "xdph": "xdph_2" } }, "rust-analyzer-src": { @@ -1837,6 +1929,36 @@ "xdph": { "inputs": { "hyprland-protocols": "hyprland-protocols", + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1717918856, + "narHash": "sha256-I38bmPLqamvOfVSArd1hhZtkVRAYBK38fOHZCU1P9Qg=", + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "rev": "72907822c19afc0983c69d59d299204381623725", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "type": "github" + } + }, + "xdph_2": { + "inputs": { + "hyprland-protocols": "hyprland-protocols_2", "hyprlang": "hyprlang_5", "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index 29ea612b..9704b654 100644 --- a/flake.nix +++ b/flake.nix @@ -32,12 +32,7 @@ url = "github:Aylur/ags"; # Aylur GTK Shell, a widget manager/toolkit inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland = { - url = "git+https://github.com/hyprwm/Hyprland?submodules=1&rev=4cdddcfe466cb21db81af0ac39e51cc15f574da9"; # Hyprland, a Wayland WM, use git submodules too - inputs.nixpkgs.follows = "nixpkgs"; - inputs.xdph.follows = "xdph"; - inputs.hyprcursor.follows = "hyprcursor"; - }; + hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; # Hyprland, a Wayland WM, use git submodules too xdph = { url = "github:hyprwm/xdg-desktop-portal-hyprland"; inputs.nixpkgs.follows = "nixpkgs";