diff --git a/modules/misc/nixgl.nix b/modules/misc/nixgl.nix index b4983d6406f6..b6cff7cc07d4 100644 --- a/modules/misc/nixgl.nix +++ b/modules/misc/nixgl.nix @@ -30,6 +30,12 @@ in { # the outputs and derivation attributes. (pkg.overrideAttrs (old: { name = "nixGL-${pkg.name}"; + + # Make sure this is false for the wrapper derivation, so nix doesn't expect + # a new debug output to be produced. We won't be producing any debug info + # for the original package. + separateDebugInfo = false; + buildCommand = '' set -eo pipefail