diff --git a/package.nix b/package.nix index d9f97bbb..5da1ebf9 100644 --- a/package.nix +++ b/package.nix @@ -28,18 +28,19 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8="; - TARGET_CC = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"; - CARGO_BUILD_RUSTFLAGS = [ - "-Clinker=${TARGET_CC}" - "-Clink-args=-static -latomic" - "-Ctarget-feature=+crt-static" - ]; + # TARGET_CC = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"; + # CARGO_BUILD_RUSTFLAGS = [ + # "-Clinker=${TARGET_CC}" + # "-Clink-args=-static -latomic" + # "-Ctarget-feature=+crt-static" + # ]; # unit tests only doCheck = false; cargoTestFlags = [ "--lib" ]; nativeBuildInputs = [ ] + ++ lib.optional hostPlatform.isDarwin [ darwin.libiconv ] ++ lib.optional (installManPages || installShellCompletions) installShellFiles; buildInputs = [ ]