mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-10 08:21:13 -04:00
Merge pull request #507 from Rexcrazy804/nix-patches
Improvements to nix derrivation
This commit is contained in:
commit
50b9de6f80
1 changed files with 50 additions and 46 deletions
|
|
@ -13,17 +13,16 @@
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
xcbutilwm,
|
xcbutilwm,
|
||||||
xwayland,
|
xwayland,
|
||||||
enableXWayland ? true,
|
|
||||||
meson,
|
meson,
|
||||||
ninja,
|
ninja,
|
||||||
scenefx,
|
scenefx,
|
||||||
wlroots_0_19,
|
wlroots_0_19,
|
||||||
libGL,
|
libGL,
|
||||||
}: let
|
enableXWayland ? true,
|
||||||
|
debug ? false,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
pname = "mango";
|
pname = "mango";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit pname;
|
|
||||||
version = "nightly";
|
version = "nightly";
|
||||||
|
|
||||||
src = builtins.path {
|
src = builtins.path {
|
||||||
|
|
@ -31,6 +30,11 @@ in
|
||||||
name = "source";
|
name = "source";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
(lib.mesonEnable "xwayland" enableXWayland)
|
||||||
|
(lib.mesonBool "asan" debug)
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
|
@ -69,4 +73,4 @@ in
|
||||||
maintainers = [];
|
maintainers = [];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue