Nix: add hyprutils dep

flake.lock: update
This commit is contained in:
Mihai Fufezan 2024-07-16 22:41:40 +03:00
parent cf3a09f3cc
commit 103c5e7581
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
4 changed files with 22 additions and 23 deletions

View file

@ -2,11 +2,15 @@
"nodes": { "nodes": {
"hyprlang": { "hyprlang": {
"inputs": { "inputs": {
"hyprutils": "hyprutils", "hyprutils": [
"hyprutils"
],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems" "systems": [
"systems"
]
}, },
"locked": { "locked": {
"lastModified": 1720381373, "lastModified": 1720381373,
@ -25,20 +29,18 @@
"hyprutils": { "hyprutils": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"hyprlang",
"nixpkgs" "nixpkgs"
], ],
"systems": [ "systems": [
"hyprlang",
"systems" "systems"
] ]
}, },
"locked": { "locked": {
"lastModified": 1717881334, "lastModified": 1721071737,
"narHash": "sha256-a0inRgJhPL6v9v7RPM/rx1kbXdfe3xJA1c9z0ZkYnh4=", "narHash": "sha256-qmC9jGfbE4+EIBbbSAkrfR/p49wShjpv4/KztgE/P54=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "0693f9398ab693d89c9a0aa3b3d062dd61b7a60e", "rev": "eb1ceff2b87f6820789249f63faa8e9dcb54d05f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -66,8 +68,9 @@
"root": { "root": {
"inputs": { "inputs": {
"hyprlang": "hyprlang", "hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"systems": "systems_2" "systems": "systems"
} }
}, },
"systems": { "systems": {
@ -84,21 +87,6 @@
"repo": "default-linux", "repo": "default-linux",
"type": "github" "type": "github"
} }
},
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -8,6 +8,14 @@
hyprlang = { hyprlang = {
url = "github:hyprwm/hyprlang"; url = "github:hyprwm/hyprlang";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
inputs.hyprutils.follows = "hyprutils";
};
hyprutils = {
url = "github:hyprwm/hyprutils";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
}; };
}; };

View file

@ -4,6 +4,7 @@
cmake, cmake,
pkg-config, pkg-config,
hyprlang, hyprlang,
hyprutils,
sdbus-cpp, sdbus-cpp,
systemd, systemd,
wayland, wayland,
@ -22,6 +23,7 @@ stdenv.mkDerivation {
buildInputs = [ buildInputs = [
hyprlang hyprlang
hyprutils
sdbus-cpp sdbus-cpp
systemd systemd
wayland wayland

View file

@ -12,6 +12,7 @@ in {
hypridle = lib.composeManyExtensions [ hypridle = lib.composeManyExtensions [
inputs.hyprlang.overlays.default inputs.hyprlang.overlays.default
inputs.hyprutils.overlays.default
(final: prev: { (final: prev: {
hypridle = prev.callPackage ./default.nix { hypridle = prev.callPackage ./default.nix {
stdenv = prev.gcc13Stdenv; stdenv = prev.gcc13Stdenv;