xwin: Use nixpkgs openssl for tls (#434029)

authored by John Ericson and committed by GitHub 53203bd2 17ef695a

+16
+16
pkgs/by-name/xw/xwin/package.nix
··· 2 2 lib, 3 3 rustPlatform, 4 4 fetchFromGitHub, 5 + openssl, 6 + pkg-config, 5 7 versionCheckHook, 6 8 }: 7 9 rustPlatform.buildRustPackage (finalAttrs: { ··· 16 18 }; 17 19 18 20 cargoHash = "sha256-77ArdZ9mOYEon4nzNUNSL0x0UlE1iVujFLwreAd9iMM="; 21 + 22 + strictDeps = true; 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 + openssl 29 + ]; 30 + 31 + buildNoDefaultFeatures = true; 32 + buildFeatures = [ 33 + "native-tls" 34 + ]; 19 35 20 36 doCheck = true; 21 37 # Requires network access