From dd782e062eac3a91e5e70737d64231bdb98ef0fb Mon Sep 17 00:00:00 2001 From: Brendan Hay Date: Wed, 4 Nov 2020 19:57:24 +0100 Subject: [PATCH] vere: ensure debug symbols aren't stripped by default (by nix) --- nix/pkgs/urbit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/pkgs/urbit/default.nix b/nix/pkgs/urbit/default.nix index 4ec03e0b7..5b54caf6b 100644 --- a/nix/pkgs/urbit/default.nix +++ b/nix/pkgs/urbit/default.nix @@ -2,7 +2,7 @@ , ed25519, ent, ge-additions, gmp, h2o, herb, ivory, libaes_siv, libscrypt , libsigsegv, libuv, lmdb, murmur3, openssl, secp256k1, softfloat3, zlib , enableStatic ? stdenv.hostPlatform.isStatic, enableDebug ? false -, doCheck ? true, enableParallelBuilding ? true }: +, doCheck ? true, enableParallelBuilding ? true, dontStrip ? true }: let @@ -73,7 +73,7 @@ in stdenv.mkDerivation { # See https://github.com/NixOS/nixpkgs/issues/18995 hardeningDisable = lib.optionals enableDebug [ "all" ]; - inherit enableParallelBuilding doCheck; + inherit enableParallelBuilding doCheck dontStrip; meta = { debug = enableDebug; }; }