about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2023-10-23 11:28:20 +0200
committerAdam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>2023-10-23 22:04:55 +0000
commit6f5d72df0bda3f32863778dbae3f9c126b896d5a (patch)
tree34f8b02a6d4175af4c572ac0037f3487f406ca5e
parent52308bd7b4056ffe232d7e1256b0cfe598b74290 (diff)
packages-config: don't export minimal-bootstrap packages
Fixes https://github.com/NixOS/nixpkgs/issues/244966
-rw-r--r--pkgs/top-level/packages-config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/top-level/packages-config.nix b/pkgs/top-level/packages-config.nix
index 889ddccb0e1b5..79be645162ea7 100644
--- a/pkgs/top-level/packages-config.nix
+++ b/pkgs/top-level/packages-config.nix
@@ -45,5 +45,11 @@
     haskell = super.haskell // {
       compiler = recurseIntoAttrs super.haskell.compiler;
     };
+
+    # minimal-bootstrap packages aren't used for anything but bootstrapping our
+    # stdenv. They should not be used for any other purpose and therefore not
+    # show up in search results or repository tracking services that consume our
+    # packages.json https://github.com/NixOS/nixpkgs/issues/244966
+    minimal-bootstrap = { };
   };
 }