stdenv/check-meta: move to within lib/

This is going to be used in lib.systems, which isn't allowed to import
from outside the lib folder. We don't actually expose this through lib,
though.
This commit is contained in:
Eman Resu
2026-06-20 17:05:33 -04:00
parent c5cb2f465c
commit 50cf7fe9dc
3 changed files with 4 additions and 3 deletions
@@ -1,6 +1,7 @@
{ lib }:
# Simple internal type checks for meta.
# This file is not a stable interface and may be changed arbitrarily.
# This file is only intended for internal nixpkgs use.
# It is not a stable interface and may be changed arbitrarily.
#
# TODO: add a method to the module system types
# see https://github.com/NixOS/nixpkgs/pull/273935#issuecomment-1854173100
+1 -1
View File
@@ -300,7 +300,7 @@ let
metaType =
let
types = import ./meta-types.nix { inherit lib; };
types = import ../../../lib/meta-types.nix { inherit lib; };
inherit (types)
str
union
+1 -1
View File
@@ -242,7 +242,7 @@ rec {
# The type for meta.problems
problemsType =
let
types = import ./meta-types.nix { inherit lib; };
types = import ../../../lib/meta-types.nix { inherit lib; };
inherit (types)
str
listOf