aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-28 10:25:45 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-28 10:25:45 +0200
commit0d8cb297809816799f5aa33d366482c46ccb8e1d (patch)
tree4e9e05956a5e891c423b501b569cd08710c557ce /nix
parent2197753dfdb25944e55c25d911ae6d14b8506c4d (diff)
downloadgarage-build-convert-db.tar.gz
garage-build-convert-db.zip
Nix configuration to build convert_dbbuild-convert-db
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 {