diff --git a/flake.nix b/flake.nix index 054172d..9d67ae9 100644 --- a/flake.nix +++ b/flake.nix @@ -36,10 +36,11 @@ buildInputs = with pkgs; [ xe xz - libgcc - musl - libunwind + #libgcc + #glibc pkgsStatic.musl + # libunwind + ]; nativeBuildInputs = with pkgs; [ @@ -63,7 +64,8 @@ pkg-config ]; - RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; + #RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; + CARGO = "rustup run nightly cargo"; }; } );