Merge pull request #507 from Rexcrazy804/nix-patches
Improvements to nix derrivation
This commit is contained in:
@@ -13,17 +13,16 @@
|
||||
wayland-scanner,
|
||||
xcbutilwm,
|
||||
xwayland,
|
||||
enableXWayland ? true,
|
||||
meson,
|
||||
ninja,
|
||||
scenefx,
|
||||
wlroots_0_19,
|
||||
libGL,
|
||||
}: let
|
||||
enableXWayland ? true,
|
||||
debug ? false,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "mango";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname;
|
||||
version = "nightly";
|
||||
|
||||
src = builtins.path {
|
||||
@@ -31,6 +30,11 @@ in
|
||||
name = "source";
|
||||
};
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonEnable "xwayland" enableXWayland)
|
||||
(lib.mesonBool "asan" debug)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@@ -69,4 +73,4 @@ in
|
||||
maintainers = [];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user