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 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 versionCheckHook, 6 }: 7 rustPlatform.buildRustPackage (finalAttrs: { ··· 16 }; 17 18 cargoHash = "sha256-77ArdZ9mOYEon4nzNUNSL0x0UlE1iVujFLwreAd9iMM="; 19 20 doCheck = true; 21 # Requires network access
··· 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 + openssl, 6 + pkg-config, 7 versionCheckHook, 8 }: 9 rustPlatform.buildRustPackage (finalAttrs: { ··· 18 }; 19 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 + ]; 35 36 doCheck = true; 37 # Requires network access