Do not use static-libgcc flag on Darwin
ncurses: apply a patch on Darwin for a clang bug
nixos/shadow: Add an example for defaultUserShell.

Thanks to @devhell for the suggestion.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
gyp: Update to new upstream revision 1944.

This is mainly needed in order to build the new Chromium version 37.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Properly implement mksnapshot target.

Let's ensure we do all architecture-dependant stuff inside
mkChromiumDerivation and not pass archInfo around, so we can properly
decouple it from the main function.

This partially reverts 8d54dc6d13ac3b42e45d95a2cfb971e7c01ad39c.

The main reason for doing this is because the architecture information
is no longer required in Chromium 37, so let's uglify and XXX it in
common.nix and remove it once version 37 hits the stable channel.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Update all channels to latest versions.

With this commit, the following new upstream versions are introduced:

stable: 35.0.1916.114 -> 35.0.1916.153
beta:   35.0.1916.86  -> 36.0.1985.67
dev:    36.0.1964.2   -> 37.0.2054.3

All builds successfully tested on my machine, however in order to update
the beta and dev channels, a few additional modifications were
necessary:

 * Update/rebase USER_NS sandbox patch for version 36 and higher.
 * Create address_input_strings.grdp before running gyp in version 37.
 * Remove an empty string leftover from 0517041.
 * Add patch for building bundled Angle for version 37.

The patch for Angle is to remove reliance on git being present during
build and is from https://chromium-review.googlesource.com/202048 but
with own modifications to remove/fix Windows-specific parts within the
patch file.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium/update: Fix fetching previous version.

After refactoring the updater we no longer did properly propagate the
exit code from the nix-prefetch-url call to the main script. So if the
newest version could not be fetched it didn't even bother to try the
previous release and we would end up with an empty hash.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Hardcode dlopen() path for libexif.

This is needed for Chromium version 36 and higher.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Don't add sources as runtime dependency.

This is because of a single file that symlinks to the source output
path:

libexec/chromium/resources/extension/demo/library.js

Target within source output path:

chrome/browser/resources/extension_resource/demo/library.js

So we just need to ensure that the cp command follows symlinks during
installPhase and we should no longer have this unnecessary dependency.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
haskell-wai: update to 3.0.0.2
haskell-warp: update to 3.0.0.3
openxcom: update download link
Merge pull request #3012 from cpages/oxc

openxcom: update download link
EC2: allow building S3-backed HVM ami's

(cherry picked from commit e007559e9580c134f43ea9dc2279ff41cb3bd015)
Change size of Amazon EC2 S3-backed images to 8GB (was 4GB).

(cherry picked from commit 05543ef6e038a834aa323d467c9ef02ad99c5adb)
chicken: Update to 4.9.0.1.
leiningen: Update to 2.4.2.
haskellPackages.digestiveFunctorsAeson: Update to 1.1.9
Jailbreak haskellPackages.websockets

This is needed until https://github.com/jaspervdj/websockets/issues/71
is resolved.
Jailbreak haskellPackages.fb

This is necessary until https://github.com/meteficha/fb/issues/24 is
resolved.