diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/compile.nix | 5 |
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 { |