Skip to content

Commit

Permalink
Nix: add hyprwayland-scanner dep
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Jul 17, 2024
1 parent d4f5035 commit 73ce1e9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
inputs.systems.follows = "systems";
inputs.hyprutils.follows = "hyprutils";
};

hyprwayland-scanner = {
url = "github:hyprwm/hyprwayland-scanner";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
};

outputs = {
Expand Down Expand Up @@ -44,6 +50,7 @@
hyprpaper = lib.composeManyExtensions [
inputs.hyprlang.overlays.default
inputs.hyprutils.overlays.default
inputs.hyprwayland-scanner.overlays.default
(final: prev: rec {
hyprpaper = final.callPackage ./nix/default.nix {
stdenv = final.gcc13Stdenv;
Expand Down
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
fribidi,
hyprlang,
hyprutils,
hyprwayland-scanner,
libdatrie,
libGL,
libjpeg,
Expand Down Expand Up @@ -46,6 +47,7 @@ stdenv.mkDerivation {

nativeBuildInputs = [
cmake
hyprwayland-scanner
pkg-config
];

Expand Down

0 comments on commit 73ce1e9

Please sign in to comment.