mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
"old" --> "deprecated"
This commit is contained in:
@@ -33,12 +33,12 @@ Tools / services that are shared among several models are now extracted to their
|
||||
`common/` and imported by `common/default.nix`.
|
||||
These new "common" modules now have an `enable` option, which is `false` by default.
|
||||
|
||||
### "Old Behaviour" module
|
||||
### "Deprecated Behaviour" module
|
||||
|
||||
The original `./default.nix` module has been replaced by a new `old/` module, which replicates the
|
||||
The original `./default.nix` module has been replaced by a new `deprecated/` module, which replicates the
|
||||
original behaviour.
|
||||
|
||||
The new `./default.nix` will load the new `old/` module, but will also pop-up a warning asking users
|
||||
The new `./default.nix` will load the new `deprecated/` module, but will also pop-up a warning asking users
|
||||
to update how they use the microsoft/surface profile from now on.
|
||||
This warning will probably change to a fail assertion at some point in the future.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# NOTE: Structure changes from 2023-01-10
|
||||
|
||||
Please read the [Old Behaviour README](./old/README.md) to understand how some structural changes to
|
||||
Please read the [Deprecated Behaviour README](./deprecated/README.md) to understand how some structural changes to
|
||||
the code might affect you!
|
||||
|
||||
# Derivatives for Microsoft Surface notebooks
|
||||
|
||||
@@ -7,6 +7,6 @@ in {
|
||||
imports = [
|
||||
( warn
|
||||
"Please do not import microsoft/surface/ (default.nix) directly; use microsoft/surface/old or see microsoft/surface/old/README.md for more details."
|
||||
./old )
|
||||
./deprecated )
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user