···4141 # think of it as an infix operator `g extends f` that mimics the syntax from
4242 # Java. It may seem counter-intuitive to have the "base class" as the second
4343 # argument, but it's nice this way if several uses of `extends` are cascaded.
4444+ #
4545+ # To get a better understanding how `extends` turns a function with a fix
4646+ # point (the package set we start with) into a new function with a different fix
4747+ # point (the desired packages set) lets just see, how `extends g f`
4848+ # unfolds with `g` and `f` defined above:
4949+ #
5050+ # extends g f = self: let super = f self; in super // g self super;
5151+ # = self: let super = { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; }; in super // g self super
5252+ # = self: { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; } // g self { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; }
5353+ # = self: { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; } // { foo = "foo" + " + "; }
5454+ # = self: { foo = "foo + "; bar = "bar"; foobar = self.foo + self.bar; }
5555+ #
4456 extends = f: rattrs: self: let super = rattrs self; in super // f self super;
45574658 # Compose two extending functions of the type expected by 'extends'
···177177 /**/ if targetPlatform.isAarch64 then endianPrefix + "aarch64"
178178 else if targetPlatform.isAarch32 then endianPrefix + "arm"
179179 else if targetPlatform.isx86_64 then "x86-64"
180180- else if targetPlatform.isi686 then "i386"
180180+ else if targetPlatform.isx86 then "i386"
181181 else if targetPlatform.isMips then {
182182 "mips" = "btsmipn32"; # n32 variant
183183 "mipsel" = "ltsmipn32"; # n32 variant
···694694 # We cannot build this package w/o the C library from <http://www.phash.org/>.
695695 phash = markBroken super.phash;
696696697697- # https://github.com/deech/fltkhs/issues/16
698698- # linking fails because the build doesn't pull in the libGLU_combined libraries
699699- fltkhs = markBroken super.fltkhs;
700700- fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples;
701701-702697 # We get lots of strange compiler errors during the test suite run.
703698 jsaddle = dontCheck super.jsaddle;
704699