1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 19:13:33 +02:00

Add warning when importing microsoft/surface/ from now on

This commit is contained in:
mexisme 2023-01-10 16:27:28 +13:00
parent ab0c9fe7ce
commit fb5ac77207

View File

@ -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 )
]; ];
} }