mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 06:53:30 +01:00
Add warning when importing microsoft/surface/ from now on
This commit is contained in:
1 parent
cca1f04705
commit
c52e0880de
1 file changed
+5
-3
@@ -1,10 +1,12 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkDefault;
|
inherit (lib) warn;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
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