From 680108fa274875ddc868fee5f2709b4f424f44db Mon Sep 17 00:00:00 2001 From: Mel Bourgeois Date: Mon, 6 May 2024 13:08:29 -0500 Subject: [PATCH] nixgl: fix wrapper for separateDebugInfo pkgs --- modules/misc/nixgl.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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