aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-08-15 21:22:36 +0200
committerJ08nY2024-08-15 21:22:36 +0200
commit19f304e159135a6f80f7d08b885696bde8ebc737 (patch)
tree5ed45246a5eec0117700c41c9fe6ad16bfd36c3c
parent6c5776d523aca9ab86697402177342df06bc0e37 (diff)
downloadECTester-19f304e159135a6f80f7d08b885696bde8ebc737.tar.gz
ECTester-19f304e159135a6f80f7d08b885696bde8ebc737.tar.zst
ECTester-19f304e159135a6f80f7d08b885696bde8ebc737.zip
-rw-r--r--flake.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 93deff9..cb97af9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -73,8 +73,20 @@
# FIXME Removing patches might cause unwanted things; this should be version based!
patches = [ ];
- configureFlags = if pkgs.lib.versionOlder version "1.1.2" then (pkgs.lib.lists.remove "no-module" prev.configureFlags) else prev.configureFlags;
- }
+ configureFlags =
+ if pkgs.lib.versionOlder version "1.1.2" then
+ (pkgs.lib.lists.remove "no-module" prev.configureFlags)
+ else
+ prev.configureFlags;
+
+ preConfigure =
+ if pkgs.lib.versionOlder version "1.1.0h" && pkgs.lib.versionAtLeast version "1.1.0" then
+ ''
+ substituteInPlace Configure test/build.info test/run_tests.pl test/recipes/90-test_fuzz.t test/recipes/80-test_ssl_new.t test/recipes/40-test_rehash.t util/process_docs.pl --replace-fail "qw/glob/" "qw/bsd_glob/"
+ ''
+ else
+ "";
+ }
);
botan2Builder =
{