Steam-run: Add libcrypto 1.0.
This commit is contained in:
parent
ca3924a420
commit
3e4de67112
|
@ -131,8 +131,14 @@
|
||||||
steam # Gaming platform.
|
steam # Gaming platform.
|
||||||
vkd3d # Directx to Vulkan.
|
vkd3d # Directx to Vulkan.
|
||||||
wine64 # Run Windows software on Linux.
|
wine64 # Run Windows software on Linux.
|
||||||
|
(steam.override {
|
||||||
|
extraLibraries = _: with pkgs; [
|
||||||
|
(callPackage ./openssl100 {})
|
||||||
|
curlWithGnuTls
|
||||||
|
];
|
||||||
|
}).run
|
||||||
|
|
||||||
(import ./steamrun args).pkg # Steam env to run native games.
|
# (import ./steamrun args).pkg # Steam env to run native games.
|
||||||
];
|
];
|
||||||
|
|
||||||
creative = with pkgs; [
|
creative = with pkgs; [
|
||||||
|
|
34
package/openssl100/default.nix
Normal file
34
package/openssl100/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# SRC: https://git.azahi.cc/nixfiles/tree/packages/openssl_1_0_0.nix
|
||||||
|
{
|
||||||
|
autoPatchelfHook,
|
||||||
|
fetchurl,
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
}: stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "openssl";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
sourceRoot = "x86_64";
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontPatch = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://downloads.dotslashplay.it/resources/openssl/openssl_${finalAttrs.version}.tar.xz";
|
||||||
|
hash = "sha256-B8/FdkheAwrAtscn6dvUuen1slfRglM/kJb2xGm7uvA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm555 -t $out/lib libcrypto.so.1.0.0
|
||||||
|
install -Dm555 -t $out/lib libssl.so.1.0.0
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
})
|
|
@ -1,11 +1,12 @@
|
||||||
{
|
{
|
||||||
|
__findFile,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
pkg = pkgs.callPackage "${inputs.nixpkgs}/pkgs/by-name/st/steam/package.nix" {
|
pkg = pkgs.callPackage "${inputs.nixpkgs}/pkgs/by-name/st/steam/package.nix" {
|
||||||
extraLibraries = pkgs: with pkgs; [
|
extraLibraries = pkgs: [
|
||||||
openssl_1_1
|
(pkgs.callPackage <package/openssl100> {})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue