Unverified Commit 53203bd2 authored by John Ericson's avatar John Ericson Committed by GitHub
Browse files

xwin: Use nixpkgs openssl for tls (#434029)

parents 17ef695a b9fde1f7
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  openssl,
  pkg-config,
  versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,6 +19,20 @@ rustPlatform.buildRustPackage (finalAttrs: {

  cargoHash = "sha256-77ArdZ9mOYEon4nzNUNSL0x0UlE1iVujFLwreAd9iMM=";

  strictDeps = true;
  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
  ];

  buildNoDefaultFeatures = true;
  buildFeatures = [
    "native-tls"
  ];

  doCheck = true;
  # Requires network access
  checkFlags = [