diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-28 10:25:45 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-28 10:25:45 +0200 |
commit | 0d8cb297809816799f5aa33d366482c46ccb8e1d (patch) | |
tree | 4e9e05956a5e891c423b501b569cd08710c557ce /nix | |
parent | 2197753dfdb25944e55c25d911ae6d14b8506c4d (diff) | |
download | garage-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.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 { |