summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 6295165..84b1634 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,6 +58,9 @@
};
build = forAllSystems (system: nixpkgsFor.${system}.patchelf-new);
+ build-sanitized = forAllSystems (system: nixpkgsFor.${system}.patchelf-new.overrideAttrs (old: {
+ configureFlags = [ "--with-asan " "--with-ubsan" ];
+ }));
release = pkgs.releaseTools.aggregate
{ name = "patchelf-${self.hydraJobs.tarball.version}";
@@ -65,6 +68,8 @@
[ self.hydraJobs.tarball
self.hydraJobs.build.x86_64-linux
self.hydraJobs.build.i686-linux
+ self.hydraJobs.build-sanitized.x86_64-linux
+ self.hydraJobs.build-sanitized.i686-linux
];
meta.description = "Release-critical builds";
};