mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-26 17:03:09 +00:00
build(nix): build servo-shell/app-shell as stubs in Nix VM image
servo WebIDL Python codegen is incompatible with Nix hermetic sandbox. Build weft-servo-shell and weft-app-shell without servo-embed feature so the VM infrastructure compiles cleanly. The full servo-embed build is performed separately via cargo on a Linux host.
This commit is contained in:
parent
f0c061a054
commit
9078d10277
1 changed files with 0 additions and 20 deletions
|
|
@ -43,30 +43,10 @@ in {
|
|||
|
||||
weft-servo-shell = mkWeftPkg {
|
||||
pname = "weft-servo-shell";
|
||||
extraBuildInputs = with pkgs; [
|
||||
mesa wayland libxkbcommon openssl dbus udev libGL fontconfig
|
||||
];
|
||||
extraNativeBuildInputs = with pkgs; [
|
||||
pkgs.llvmPackages.clang pkgs.llvmPackages.llvm cmake python3 nasm
|
||||
];
|
||||
cargoFlags = [ "--features" "servo-embed" ];
|
||||
extraEnv = {
|
||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
};
|
||||
};
|
||||
|
||||
weft-app-shell = mkWeftPkg {
|
||||
pname = "weft-app-shell";
|
||||
extraBuildInputs = with pkgs; [
|
||||
mesa wayland libxkbcommon openssl dbus udev libGL fontconfig
|
||||
];
|
||||
extraNativeBuildInputs = with pkgs; [
|
||||
pkgs.llvmPackages.clang pkgs.llvmPackages.llvm cmake python3 nasm
|
||||
];
|
||||
cargoFlags = [ "--features" "servo-embed" ];
|
||||
extraEnv = {
|
||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
};
|
||||
};
|
||||
|
||||
weft-appd = mkWeftPkg {
|
||||
|
|
|
|||
Loading…
Reference in a new issue