aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/compile.nix5
1 files changed, 4 insertions, 1 deletions
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 {