@@ -11,6 +11,21 @@ res: pkgs: super:
1111with pkgs;
1212
1313{
14+ # A module system style type tag
15+ #
16+ # Allows the nixpkgs fixpoint, usually known as `pkgs`
17+ # to be distinguished nominally.
18+ #
19+ # pkgs._type == "pkgs"
20+ # pkgs.pkgsStatic._type == "pkgs"
21+ #
22+ # Design note:
23+ # While earlier stages of nixpkgs fixpoint construction
24+ # are supertypes of this stage, they're generally not
25+ # usable in places where a `pkgs` is expected.
26+ # (earlier stages being the various `super` variables
27+ # that precede all-packages.nix)
28+ _type = "pkgs";
1429
1530 # A stdenv capable of building 32-bit binaries. On x86_64-linux,
1631 # it uses GCC compiled with multilib support; on i686-linux, it's