See https://github.com/nix-redox/nixpkgs/tree/redox-staging To build:
nix build -v github:nix-redox/nixpkgs/redox-staging#pkgsCross.x86_64-redox.libc --show-traceSee https://github.com/nix-redox/nixpkgs/tree/redox-staging To build:
nix build -v github:nix-redox/nixpkgs/redox-staging#pkgsCross.x86_64-redox.libc --show-trace| ========== | |
| VULKANINFO | |
| ========== | |
| Vulkan Instance Version: 1.4.328 | |
| Instance Extensions: count = 15 | |
| =============================== | |
| VK_EXT_debug_report : extension revision 10 |
| cxx_library( | |
| name = "bionic", | |
| preferred_linkage = "static", | |
| srcs = [ | |
| "libc/arch-common/bionic/crtbegin.c", | |
| "libc/async_safe/async_safe_log.cpp", | |
| "libc/bionic/NetdClient.cpp", | |
| "libc/bionic/NetdClientDispatch.cpp", | |
| "libc/bionic/__bionic_get_shell_path.cpp", | |
| "libc/bionic/__cmsg_nxthdr.cpp", |
| { | |
| pkgs, | |
| ... | |
| }: { | |
| virtualisation.docker.enable = true; | |
| virtualisation.docker.storageDriver = "btrfs"; | |
| services.pyrodactyl.enable = true; | |
| services.pyrodactyl.url = "https://pyro.example.com"; | |
| services.mysql.enable = true; |
| use std::fs::metadata; | |
| use std::process::Command; | |
| use std::f64; | |
| fn main() { | |
| let program_path = std::env::args().nth(1).unwrap_or_else(|| { | |
| "/Applications/Ghostty.app/Contents/MacOS/ghostty".to_string() | |
| }); | |
| let file_size = metadata(&program_path) |
| [01:22:41] [Render thread/ERROR]: Carver: Failed to parse either. First: Not a string: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Failed to parse either. First: Not a json array: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Input does not contain a key [type]: MapLike[{"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}] | |
| [01:22:41] [Render thread/ERROR]: Carver: Failed to parse either. First: Not a string: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Failed to parse either. First: Not a json array: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Input does not contain a key [type]: MapLike[{"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}] | |
| [01:22:41] [Render thread/ERROR]: Carver: Failed to parse either. First: Not a string: {"air":["minecraft:cave","minecraft:cave_extra_unde |
| { | |
| pkgs ? import ../nixpkgs { }, | |
| }: | |
| let | |
| lib = pkgs.lib; | |
| # N.B. Keep in sync with default arg for stdenv/generic. | |
| defaultMkDerivationFromStdenv = | |
| stdenv: | |
| (import ../nixpkgs/pkgs/stdenv/generic/make-derivation.nix { |
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| new file mode 100644 | |
| index 0000000..de6f6c9 | |
| --- /dev/null | |
| +++ b/CMakeLists.txt | |
| @@ -0,0 +1,33 @@ | |
| +cmake_minimum_required(VERSION 4.0) | |
| + | |
| +set(CMAKE_DISABLE_SOURCE_CHANGES ON) | |
| +set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) |
| (define-module (luau-package)) | |
| (use-modules | |
| (guix packages) | |
| (guix download) | |
| (guix build-system cmake) | |
| (guix licenses) | |
| (gnu packages cmake) | |
| (gnu packages pkg-config) | |
| (gnu packages ninja) |