aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJ08nY2024-08-12 19:00:31 +0200
committerJ08nY2024-08-12 19:00:31 +0200
commit71bb43641a43b5426b2969f036bb89d40413f1fb (patch)
tree72042659ace2a0e3761187103b825dcf64041d6b /flake.nix
parent77f442d88421986d1b1c979ed1bb9b2f81edd02d (diff)
downloadECTester-71bb43641a43b5426b2969f036bb89d40413f1fb.tar.gz
ECTester-71bb43641a43b5426b2969f036bb89d40413f1fb.tar.zst
ECTester-71bb43641a43b5426b2969f036bb89d40413f1fb.zip
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix47
1 files changed, 37 insertions, 10 deletions
diff --git a/flake.nix b/flake.nix
index 371fa92..90af413 100644
--- a/flake.nix
+++ b/flake.nix
@@ -87,16 +87,43 @@
inherit hash;
};
patches =
- { "2.0.0" = ./nix/botan-2.0.0-2.0.1.patch;
- "2.0.1" = ./nix/botan-2.0.0-2.0.1.patch;
- "2.2.0" = [./nix/botan-fe25519-stdexcept.patch ];
- "2.3.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];
- "2.4.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];
- "2.5.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];
- "2.6.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];
- "2.7.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];
- "2.8.0" = [./nix/botan-fe25519-stdexcept.patch ./nix/botan-types-stdexcept.patch];}."${version}" or (prev.patches or [ ]);
- patchFlags = ["-p1" "-r-"];
+ {
+ "2.0.0" = [
+ ./nix/botan-2.0.0-2.0.1.patch
+ ./nix/botan-2.0.0.patch
+ ];
+ "2.0.1" = ./nix/botan-2.0.0-2.0.1.patch;
+ "2.2.0" = [ ./nix/botan-fe25519-stdexcept.patch ];
+ "2.3.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ "2.4.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ "2.5.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ "2.6.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ "2.7.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ "2.8.0" = [
+ ./nix/botan-fe25519-stdexcept.patch
+ ./nix/botan-types-stdexcept.patch
+ ];
+ }
+ ."${version}" or (prev.patches or [ ]);
+ patchFlags = [
+ "-p1"
+ "-r-"
+ ];
}
);