mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove testing openssl-rc4 package
This commit is contained in:
parent
47c32d7aea
commit
41abe496b0
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
{ callPackage, openssl_1_1, path, stdenv }:
|
|
||||||
|
|
||||||
# This package exists for testing.
|
|
||||||
# ./result-bin/bin/openssl ciphers -v "ALL:@SECLEVEL=0" | grep RC4
|
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
oldScript = openssl_1_1.configureScript;
|
|
||||||
|
|
||||||
edited = stdenv.mkDerivation {
|
|
||||||
name = "openssl-with-rc4";
|
|
||||||
src = path + "/pkgs/development/libraries/openssl";
|
|
||||||
installPhase = ''
|
|
||||||
sed -i 's|${oldScript}|${oldScript} enable-weak-ssl-ciphers|g' default.nix
|
|
||||||
cp -a . $out
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
(callPackage edited { }).openssl_1_1
|
|
Loading…
Reference in a new issue