From 5669d9b47eb3da88f17e496e3dbbc2d27680630b Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 25 Apr 2020 14:36:46 +0200 Subject: [PATCH] disable debug build on darwin Currently broken due to the .dSYM folders it generates next to the binaries. See https://github.com/NixOS/nixpkgs/pull/83488 --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 9fc5555..2096daf 100644 --- a/default.nix +++ b/default.nix @@ -7,7 +7,7 @@ let drv = ofborgCrates.ofborg {}; - src = stripDeps (drv.override { release = false; }); + src = stripDeps (drv.override { release = pkgs.stdenv.isDarwin; }); stripDeps = pkg: pkgs.runCommand "${pkg.name}-deps-stripped" {} ''