diff --git a/pkgs/by-name/gu/gurk-rs/package.nix b/pkgs/by-name/gu/gurk-rs/package.nix index 772cd6476092..ac0db5ce49fd 100644 --- a/pkgs/by-name/gu/gurk-rs/package.nix +++ b/pkgs/by-name/gu/gurk-rs/package.nix @@ -37,15 +37,16 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ]; - NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "-framework" - "AppKit" - ]; + env = { + NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + "-framework" + "AppKit" + ]; + OPENSSL_NO_VENDOR = true; + }; PROTOC = "${pkgsBuildHost.protobuf}/bin/protoc"; - OPENSSL_NO_VENDOR = true; - useNextest = true; nativeCheckInputs = [ writableTmpDirAsHomeHook ];