about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShamrock Lee <44064051+ShamrockLee@users.noreply.github.com>2022-11-10 00:31:37 +0800
committerGitHub <noreply@github.com>2022-11-09 11:31:37 -0500
commit0106a6855599fbe26a7c331782d9672f829bd1e1 (patch)
tree3ce57173f367dd30f3fdd6e79d899b7c562e7ce4
parent7f290a9d35cfcce20e420987085ad535e7c6938a (diff)
root: enable davix and ssl support (#200096)
This enables CERN ROOT to open file urls with scheme
`davs://` and `https://`.

The inclusion of `openssl` in buildInputs
will increase neither closure size nor rebuild frequency,
since `python3`, which depends on `openssl`, is already a dependency.
-rw-r--r--pkgs/applications/science/misc/root/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix
index 5ae80c745bdce..b00a7ddecbe2b 100644
--- a/pkgs/applications/science/misc/root/default.nix
+++ b/pkgs/applications/science/misc/root/default.nix
@@ -5,6 +5,7 @@
 , makeWrapper
 , cmake
 , git
+, davix
 , ftgl
 , gl2ps
 , glew
@@ -22,6 +23,7 @@
 , lz4
 , xz
 , openblas
+, openssl
 , pcre
 , nlohmann_json
 , pkg-config
@@ -66,6 +68,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ makeWrapper cmake pkg-config git ];
   buildInputs = [
+    davix
     ftgl
     gl2ps
     glew
@@ -80,6 +83,7 @@ stdenv.mkDerivation rec {
     xz
     gsl
     openblas
+    openssl
     xxHash
     libAfterImage
     giflib
@@ -140,7 +144,7 @@ stdenv.mkDerivation rec {
     "-Dcastor=OFF"
     "-Dchirp=OFF"
     "-Dclad=OFF"
-    "-Ddavix=OFF"
+    "-Ddavix=ON"
     "-Ddcache=OFF"
     "-Dfail-on-missing=ON"
     "-Dfftw3=OFF"
@@ -164,7 +168,7 @@ stdenv.mkDerivation rec {
     "-Drfio=OFF"
     "-Droot7=OFF"
     "-Dsqlite=OFF"
-    "-Dssl=OFF"
+    "-Dssl=ON"
     "-Dtmva=ON"
     "-Dvdt=OFF"
     "-Dwebgui=OFF"