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