use wlroots-master from nixpkgs-wayland

This commit is contained in:
EdenQwQ 2025-03-25 21:29:15 +08:00 committed by DreamMaoMao
parent e000a236f6
commit 20176cead6
4 changed files with 125 additions and 142 deletions

View file

@ -1,6 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
flake-parts.url = "github:hercules-ci/flake-parts";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
@ -39,7 +40,9 @@
inherit (pkgs)
callPackage
;
maomaowm = callPackage ./nix { };
maomaowm = callPackage ./nix {
wlroots = inputs.nixpkgs-wayland.packages.${pkgs.system}.wlroots;
};
shellOverride = old: {
nativeBuildInputs = old.nativeBuildInputs ++ [ ];
buildInputs = old.buildInputs ++ [ ];