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:
12
README.md
12
README.md
@@ -66,7 +66,7 @@ library instance with `mkLib`.
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
@@ -247,7 +247,7 @@ packages, overlays, and shells specified by the [Flake Structure](#flake-structu
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
@@ -279,7 +279,7 @@ You can apply overlays and modules from your flake's inputs with the following o
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
@@ -338,7 +338,7 @@ on `pkgs` and consumers of your flake can use the generated `<your-flake>.overla
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
@@ -391,7 +391,7 @@ mapping the `default` package or shell to the name of the one you want.
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
@@ -437,7 +437,7 @@ include `darwin` and/or `nixos-generators` as inputs.
|
||||
description = "My Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
snowfall-lib = {
|
||||
url = "github:snowfallorg/lib";
|
||||
|
||||
Reference in New Issue
Block a user