mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
build(nix): make voxygen debug package and app defaults
This commit is contained in:
parent
62844d816a
commit
09a6d708b5
@ -101,7 +101,7 @@ vek = { git = "https://gitlab.com/veloren/vek.git", branch = "fix_intrinsics2" }
|
|||||||
systems = ["x86_64-linux"]
|
systems = ["x86_64-linux"]
|
||||||
buildInputs = ["libudev", "alsaLib", "openssl", "xorg.libxcb", "libxkbcommon"]
|
buildInputs = ["libudev", "alsaLib", "openssl", "xorg.libxcb", "libxkbcommon"]
|
||||||
nativeBuildInputs = ["pkg-config", "python3", "binutils"]
|
nativeBuildInputs = ["pkg-config", "python3", "binutils"]
|
||||||
runtimeLibs = ["libGL", "xorg.libX11", "xorg.libXcursor", "xorg.libXrandr", "xorg.libXi", "wayland", "wayland-protocols"]
|
runtimeLibs = ["libGL", "xorg.libX11", "xorg.libXcursor", "xorg.libXrandr", "xorg.libXi"]
|
||||||
|
|
||||||
[workspace.metadata.nix.cachix]
|
[workspace.metadata.nix.cachix]
|
||||||
name = "veloren-nix"
|
name = "veloren-nix"
|
||||||
|
@ -14,7 +14,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs: inputs.nixCargoIntegration.lib.makeOutputs {
|
outputs = inputs:
|
||||||
|
let
|
||||||
|
output = inputs.nixCargoIntegration.lib.makeOutputs {
|
||||||
root = ./.;
|
root = ./.;
|
||||||
overrides = {
|
overrides = {
|
||||||
common = prev: {
|
common = prev: {
|
||||||
@ -92,4 +94,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
in
|
||||||
|
output // {
|
||||||
|
defaultApp = builtins.mapAttrs (_: apps: apps.veloren-voxygen-debug) output.apps;
|
||||||
|
defaultPackage = builtins.mapAttrs (_: packages: packages.veloren-voxygen-debug) output.packages;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user