File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
pkgs/development/libraries/botan Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1414 static ? stdenv . hostPlatform . isStatic , # generates static libraries *only*
1515
1616 # build ESDM RNG plugin
17- with_esdm ? false ,
17+ withEsdm ? false ,
1818 # useful, but have to disable tests for now, as /dev/tpmrm0 is not accessible
19- with_tpm2 ? false ,
19+ withTpm2 ? false ,
2020 policy ? null ,
2121} :
2222
6969 bzip2
7070 zlib
7171 ]
72- ++ lib . optionals ( stdenv . hostPlatform . isLinux && with_tpm2 ) [
72+ ++ lib . optionals ( stdenv . hostPlatform . isLinux && withTpm2 ) [
7373 tpm2-tss
7474 ]
7575 ++ lib . optionals ( lib . versionAtLeast version "3.6.0" ) [
7676 jitterentropy
7777 ]
78- ++ lib . optionals ( lib . versionAtLeast version "3.7.0" && with_esdm ) [
78+ ++ lib . optionals ( lib . versionAtLeast version "3.7.0" && withEsdm ) [
7979 esdm
8080 ] ;
8181
@@ -101,13 +101,13 @@ let
101101 ++ lib . optionals stdenv . cc . isClang [
102102 "--cc=clang"
103103 ]
104- ++ lib . optionals ( stdenv . hostPlatform . isLinux && with_tpm2 ) [
104+ ++ lib . optionals ( stdenv . hostPlatform . isLinux && withTpm2 ) [
105105 "--with-tpm2"
106106 ]
107107 ++ lib . optionals ( lib . versionAtLeast version "3.6.0" ) [
108108 "--enable-modules=jitter_rng"
109109 ]
110- ++ lib . optionals ( lib . versionAtLeast version "3.7.0" && with_esdm ) [
110+ ++ lib . optionals ( lib . versionAtLeast version "3.7.0" && withEsdm ) [
111111 "--enable-modules=esdm_rng"
112112 ]
113113 ++ lib . optionals ( lib . versionAtLeast version "3.8.0" && policy != null ) [
You can’t perform that action at this time.
0 commit comments