mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
Add warning when importing microsoft/surface/ from now on
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
inherit (lib) warn;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
./old
|
||||
( warn
|
||||
"Please don't import microsoft/surface/ (default.nix) any longer; use microsoft/surface/old or see microsoft/surface/old/README.md for more details."
|
||||
./old )
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user