mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 09:05:58 -05:00
feat(overlay): only namespace package overlays
BREAKING CHANGE This commit modifies the overlay builder's original behavior in a non-backward compatible way. Previously, all overlays would be namespaced with "nixpkgs/". This was often unnecessary or would cause conflicts with package overlays if they shared a name. After this change, all overlays retain their directory name (eg. "my-overlay") and all package overlays are prefixed with "package/" to differentiate them and avoid name conflicts.
This commit is contained in:
@@ -118,7 +118,7 @@ in
|
||||
overlays
|
||||
else
|
||||
overlays // {
|
||||
"nixpkgs/${name}" = overlay;
|
||||
${name} = overlay;
|
||||
}
|
||||
);
|
||||
|
||||
@@ -151,7 +151,7 @@ in
|
||||
in
|
||||
package-overlays //
|
||||
{
|
||||
"nixpkgs/${name}" = overlay;
|
||||
"package/${name}" = overlay;
|
||||
};
|
||||
|
||||
package-overlays =
|
||||
|
||||
Reference in New Issue
Block a user