wraith: move to by-name

This commit is contained in:
jopejoe1
2025-08-21 10:31:47 +02:00
parent d64d3245d3
commit ef7f010d24
4 changed files with 6 additions and 10 deletions
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchurl,
openssl,
openssl_1_1,
}:
stdenv.mkDerivation rec {
@@ -13,16 +13,16 @@ stdenv.mkDerivation rec {
sha256 = "1h8159g6wh1hi69cnhqkgwwwa95fa6z1zrzjl219mynbf6vjjzkw";
};
hardeningDisable = [ "format" ];
buildInputs = [ openssl ];
buildInputs = [ openssl_1_1 ];
patches = [
./configure.patch
./dlopen.patch
];
postPatch = ''
substituteInPlace configure --subst-var-by openssl.dev ${openssl.dev} \
--subst-var-by openssl-lib ${lib.getLib openssl}
substituteInPlace src/libssl.cc --subst-var-by openssl ${lib.getLib openssl}
substituteInPlace src/libcrypto.cc --subst-var-by openssl ${lib.getLib openssl}
substituteInPlace configure --subst-var-by openssl.dev ${openssl_1_1.dev} \
--subst-var-by openssl-lib ${lib.getLib openssl_1_1}
substituteInPlace src/libssl.cc --subst-var-by openssl ${lib.getLib openssl_1_1}
substituteInPlace src/libcrypto.cc --subst-var-by openssl ${lib.getLib openssl_1_1}
'';
installPhase = ''
mkdir -p $out/bin
-4
View File
@@ -15847,10 +15847,6 @@ with pkgs;
}
);
wraith = callPackage ../applications/networking/irc/wraith {
openssl = openssl_1_1;
};
xsw = callPackage ../applications/misc/xsw {
# Enable the next line to use this in terminal.
# Note that it requires sixel capable terminals such as mlterm