mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
nixgl: use original package name
Some Home Manager modules depend on the name, so changing it in the wrapper can break them.
This commit is contained in:
parent
f678263ecf
commit
d398f95f1e
1 changed files with 4 additions and 1 deletions
|
|
@ -217,7 +217,10 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue