mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
nix: fix not building
This commit is contained in:
parent
e8fe574632
commit
accd34ba29
4 changed files with 51 additions and 133 deletions
12
flake.nix
12
flake.nix
|
|
@ -1,12 +1,15 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
mmsg = {
|
||||
url = "github:DreamMaoMao/mmsg";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
scenefx = {
|
||||
url = "github:wlrfx/scenefx";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -34,8 +37,8 @@
|
|||
callPackage
|
||||
;
|
||||
maomaowm = callPackage ./nix {
|
||||
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) wlroots;
|
||||
inherit (inputs.mmsg.packages.${pkgs.system}) mmsg;
|
||||
inherit (inputs.scenefx.packages.${pkgs.system}) scenefx;
|
||||
};
|
||||
shellOverride = old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [];
|
||||
|
|
@ -52,6 +55,9 @@
|
|||
devShells.default = maomaowm.overrideAttrs shellOverride;
|
||||
formatter = pkgs.alejandra;
|
||||
};
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue