From 0d8cb297809816799f5aa33d366482c46ccb8e1d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 28 Sep 2022 10:25:45 +0200 Subject: Nix configuration to build convert_db --- nix/compile.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/compile.nix b/nix/compile.nix index adb07886..8f007b3d 100644 --- a/nix/compile.nix +++ b/nix/compile.nix @@ -149,7 +149,10 @@ let (pkgs.rustBuilder.rustLib.makeOverride { name = "garage_db"; - overrideAttrs = drv: { /* [1] */ setBuildEnv = (buildEnv drv); }; + overrideAttrs = drv: { + /* [1] */ setBuildEnv = (buildEnv drv); + /* [2] */ hardeningDisable = [ "pie" ]; + }; }) (pkgs.rustBuilder.rustLib.makeOverride { -- cgit v1.2.3