nixos: add debug info to system buildEnv if enabled globally

This commit is contained in:
Ben Wolsieffer 2020-09-14 14:45:22 -04:00
parent c3831d92c1
commit 5a3ba1fb0c

View file

@ -104,6 +104,7 @@ in {
in mkIf (length paths != 0) [ (cfg.pkgs.buildEnv {
name = "ros-system-env";
inherit paths;
extraOutputsToInstall = optional config.environment.enableDebugInfo "debug";
}) ];
users = {