Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"
This reverts commit cad8957eab. It
breaks NixOps, but more importantly, such major changes to the module
system really need to be reviewed.
This commit is contained in:
@@ -54,11 +54,6 @@ let
|
||||
inherit (config.system) nixosVersion nixosCodeName nixosRevision;
|
||||
};
|
||||
|
||||
nixos-typecheck = makeProg {
|
||||
name = "nixos-typecheck";
|
||||
src = ./nixos-typecheck.sh;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
@@ -72,11 +67,10 @@ in
|
||||
nixos-generate-config
|
||||
nixos-option
|
||||
nixos-version
|
||||
nixos-typecheck
|
||||
];
|
||||
|
||||
system.build = {
|
||||
inherit nixos-install nixos-generate-config nixos-option nixos-rebuild nixos-typecheck;
|
||||
inherit nixos-install nixos-generate-config nixos-option nixos-rebuild;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user