vere: ensure debug symbols aren't stripped by default (by nix)

This commit is contained in:
Brendan Hay 2020-11-04 19:57:24 +01:00
parent 93e09a93b1
commit dd782e062e
No known key found for this signature in database
GPG Key ID: 80E915C54A7C457D

View File

@ -2,7 +2,7 @@
, ed25519, ent, ge-additions, gmp, h2o, herb, ivory, libaes_siv, libscrypt , ed25519, ent, ge-additions, gmp, h2o, herb, ivory, libaes_siv, libscrypt
, libsigsegv, libuv, lmdb, murmur3, openssl, secp256k1, softfloat3, zlib , libsigsegv, libuv, lmdb, murmur3, openssl, secp256k1, softfloat3, zlib
, enableStatic ? stdenv.hostPlatform.isStatic, enableDebug ? false , enableStatic ? stdenv.hostPlatform.isStatic, enableDebug ? false
, doCheck ? true, enableParallelBuilding ? true }: , doCheck ? true, enableParallelBuilding ? true, dontStrip ? true }:
let let
@ -73,7 +73,7 @@ in stdenv.mkDerivation {
# See https://github.com/NixOS/nixpkgs/issues/18995 # See https://github.com/NixOS/nixpkgs/issues/18995
hardeningDisable = lib.optionals enableDebug [ "all" ]; hardeningDisable = lib.optionals enableDebug [ "all" ];
inherit enableParallelBuilding doCheck; inherit enableParallelBuilding doCheck dontStrip;
meta = { debug = enableDebug; }; meta = { debug = enableDebug; };
} }