@@ -135,6 +135,9 @@ let
135135 # default GNU libc on Linux systems. Non-Linux systems are not
136136 # supported.
137137 pkgsMusl = if stdenv.hostPlatform.isLinux then nixpkgsFun {
138+ overlays = [ (self': super': {
139+ pkgsMusl = super';
140+ })] ++ overlays;
138141 ${if stdenv.hostPlatform == stdenv.buildPlatform
139142 then "localSystem" else "crossSystem"} = {
140143 parsed = stdenv.hostPlatform.parsed // {
@@ -151,6 +154,9 @@ let
151154 # All packages built for i686 Linux.
152155 # Used by wine, firefox with debugging version of Flash, ...
153156 pkgsi686Linux = if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86 then nixpkgsFun {
157+ overlays = [ (self': super': {
158+ pkgsi686Linux = super';
159+ })] ++ overlays;
154160 ${if stdenv.hostPlatform == stdenv.buildPlatform
155161 then "localSystem" else "crossSystem"} = {
156162 parsed = stdenv.hostPlatform.parsed // {
@@ -176,6 +182,9 @@ let
176182 # Fully static packages.
177183 # Currently uses Musl on Linux (couldn’t get static glibc to work).
178184 pkgsStatic = nixpkgsFun ({
185+ overlays = [ (self': super': {
186+ pkgsStatic = super';
187+ })] ++ overlays;
179188 crossOverlays = [ (import ./static.nix) ];
180189 } // lib.optionalAttrs stdenv.hostPlatform.isLinux {
181190 crossSystem = {