1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00
This commit is contained in:
Mel Bourgeois 2025-03-30 15:05:12 +07:00 committed by GitHub
commit a7977719f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,9 @@ in {
# Wrap the package's binaries with nixGL, while preserving the rest of
# the outputs and derivation attributes.
(pkg.overrideAttrs (old: {
name = "nixGL-${pkg.name}";
# Leave the name unchanged and rely on the hash to differentiate from the original package.
# Some modules rely on the package name to e.g. compute config directory paths.
name = 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