You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure where this goes, but just wanted to share that I got xilem building / working on nixos. You just need to jump into a nix-shell with the following shell.nix in your tree:
letpkgs=import<nixpkgs>{};fenix=pkgs.callPackage(pkgs.fetchFromGitHub{owner="nix-community";repo="fenix";# commit from: 2023-03-03rev="e2ea04982b892263c4d939f1cc3bf60a9c4deaa1";hash="sha256-AsOim1A8KKtMWIxG+lXh5Q4P2bhOZjoUhFWJ1EuZNNk=";}){};inpkgs.mkShellrec{buildInputs=withpkgs;[libxkbcommonxorg.libxcblibclangwaylandwayland-protocolsvulkan-loader];nativeBuildInputs=withpkgs;[# Note: to use stable, just replace `default` with `stable`fenix.default.toolchainpkgs.rustPlatform.bindgenHookwayland-scannerpkg-config];RUST_SRC_PATH="${fenix.complete.rust-src}/lib/rustlib/src/rust/library";LD_LIBRARY_PATH=pkgs.lib.makeLibraryPathbuildInputs;LIBCLANG_PATH="${pkgs.libclang.lib}/lib";}
The text was updated successfully, but these errors were encountered:
Not sure where this goes, but just wanted to share that I got xilem building / working on nixos. You just need to jump into a
nix-shell
with the followingshell.nix
in your tree:The text was updated successfully, but these errors were encountered: