Merge pull request #507 from Rexcrazy804/nix-patches
Improvements to nix derrivation
This commit is contained in:
@@ -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,
|
||||||
pname = "mango";
|
debug ? false,
|
||||||
in
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit pname;
|
pname = "mango";
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user