Commit graph

37755 commits

Author SHA1 Message Date
Shea Levy
f95d214cfd Implement generic kernel build via manual-config
This has three major benefits:

1. We no longer have two kernel build processes to maintain

2. The build process is (IMO) cleaner and cleaves more closely to
upstream. In partuclar, we use make install to install the kernel and
development source/build trees, eliminating the guesswork about which
files to copy.

3. The derivation has multiple outputs: the kernel and modules are in
the default `out' output, while the build and source trees are in a
`dev' output. This makes it possible for the full source and build tree
to be kept (which is expected by out-of-tree modules) without bloating
the closure of the system derivation.

In addition, if a solution for how to handle queries in the presence of
imports from derivations ever makes it into nix, a framework for
querying the full configuration of the kernel in nix expressions is
already in place.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-01 09:21:25 -05:00
Song Wenwu
b8917d548e add dvtm 0.10 2014-01-01 21:55:49 +08:00
Vladimír Čunát
506a304181 fftw: minor update and major refactoring
- Unify the "single" and "float" variants, which are the same thing.
- Enable threads and openmp wrapper by default (they are very small).
- Don't use sse on i686, as I'm quite sure we have no warrant for that.
  Cf. http://en.wikipedia.org/wiki/Pentium_Pro
- Disable static libs (big, no indication we need them).
- I tested most builds using fftw (they build OK).
2014-01-01 13:05:56 +01:00
Michael Raskin
9817df5715 Update Winetricks 2014-01-01 14:25:17 +04:00
Shea Levy
a87b1f36e0 manual-config: Fully general cross-compiling
In the most general case, the cross and native kernel may differ in
patches and configuration file as well as architecture, kernel target,
etc. It's probably overkill to support that case, but since it was
doable without much duplication and it will make integrating with the
existing cross-compilation support in the generic kernel I decided to
implement it anyway.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 23:09:42 -05:00
Shea Levy
784c6d320c manual-config: Put `source' before the version in the sourceRoot name
nix's version parsing treats the previous name as a package named
`linux' with version `${version}-source', when we really want a package
named `linux-source' with version `${version}'

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 22:50:41 -05:00
Shea Levy
0c5776bc0f manual-config: Patch conf.c for generate-config.pl
This only affects the `oldaskconfig' make target, so it shouldn't really
affect current manual-config users, but it does make it more
straightforward to implement the generic kernel build on top of
manual-config.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 22:49:12 -05:00
Shea Levy
fe185f0a18 manual-config: Always add config query functions
If the config attrset is manually specified, we still want isYes,
isModule, etc. to work. But we let the passed in config attrset take
precedence, if for some reason the caller wants to provide their own
implementation of one or more of these functions.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 22:46:43 -05:00
Shea Levy
008992619f linux/manual-config: Cross-compiling support
With this, I was able to successfully compile a defconfig kernel for the
sheevaplug, though I didn't actually try to run it (not having a
sheevaplug myself).

For native compiles, the most significant difference is that the
platform's kernel target is built directly rather than hoping the
default make target will pull it in.

Also some stylistic improvements along the way.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 22:38:06 -05:00
Shea Levy
58246936e4 platforms.nix: Separate 32-bit and 64-bit PCs
With this, stdenv.platform.kernelArch can be used by the kernel builder
for PC platforms too.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 21:34:44 -05:00
Michael Raskin
af9db522cf Update FLTK and TigerVNC; doesn't fix TigerVNC Xvnc build per se 2014-01-01 01:36:57 +04:00
Peter Simons
bad39d4861 Merge pull request #1435 from tomberek/add_fastcgi
Add fastcgi Haskell package
2013-12-31 07:42:03 -08:00
William A. Kennington III
38bc05158d network-interfaces: Add the ability to create bond devices
This patch adds support for the creations of new bond devices, aggregate
pipes of physical devices for extra throughput or failover.

Additionally, add better correction at the startup of a bridge
of vlan interface (delete old, stale interfaces).
2013-12-31 09:28:52 -06:00
William A. Kennington III
609e981b93 ifenslave: Add new package 2013-12-31 09:28:52 -06:00
Michael Raskin
9203b12d2c Merge pull request #1437 from wkennington/subfix
Subversion and Dependent Package Cleanup
2013-12-31 06:46:01 -08:00
William A. Kennington III
844ab16b90 apr-util: Cleanup
Add the required packages to buildInputs. Create a wrapper around
apr-1-config so that internal sed commands succeed.
2013-12-31 08:00:21 -06:00
William A. Kennington III
184dd198fb subversion: Tweaks and Fixes
Remove ssl and compression options which are no longer valid when using
serf in place of neon. Also, make sure serf is an optional dependency.
2013-12-31 07:59:37 -06:00
Mathijs Kwik
515488790e texLive: passthru all source attributes 2013-12-31 12:25:44 +01:00
Rickard Nilsson
bc0c50ced9 New Haskell package: wai-handler-fastcgi 2.0.0 2013-12-31 09:55:04 +01:00
Evgeny Egorochkin
b656d78ecb phonon-backend-gstreamer: fix install destination 2013-12-31 10:11:12 +02:00
Nixpkgs Monitor
47c5b16643 syslinux: update from 4.06 to 4.07 2013-12-31 05:44:11 +02:00
Domen Kožar
68e37cf417 ike: add missing dependencies, note kernel compatibility 2013-12-30 22:19:16 +01:00
Peter Simons
caea2b6fd3 haskell-yesod-platform: update to version 1.2.5.3 2013-12-30 20:49:30 +01:00
Peter Simons
330501e733 haskell-yesod-bin: update to version 1.2.5.5 2013-12-30 20:49:30 +01:00
Peter Simons
0301cfccae haskell-warp-tls: update to version 2.0.0.1 2013-12-30 20:49:29 +01:00
Peter Simons
cc6331d0fe haskell-Elm: update to version 0.10.1 2013-12-30 20:49:29 +01:00
Michael Raskin
a3843455c5 Re-add HTTP/HTTPS support back to Subversion by adding serf. Tested. 2013-12-30 23:33:22 +04:00
Michael Raskin
64361fd269 Update SlimerJS to 0.9.0 release 2013-12-30 23:33:22 +04:00
Thomas Bereknyei
218d229b06 Add fastcgi Haskell package 2013-12-30 14:04:26 -05:00
Peter Simons
c39dbf65cd Merge pull request #1422 from ocharles/lens-aeson
haskellPackages.lensAeson: New expression
2013-12-30 10:37:39 -08:00
Peter Simons
ea47447a29 Merge pull request #1426 from wkennington/openssh
openssh: Update from 6.2p2 -> 6.4p1
2013-12-30 10:37:27 -08:00
Lluís Batlle i Rossell
34859e2a42 Adding wxWidgets 3.0.0 2013-12-30 17:35:31 +01:00
Shea Levy
4af1c79c06 Remove uses of __overrides feature
In addition to replacing use of a feature with IMO confusing semantics,
this will also let us cleanly separate out all-packages.nix into
category-specific files without changing the structure of the pkgs
attrset.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-30 11:04:45 -05:00
Lluís Batlle i Rossell
f529e91501 Updating vxl from 1.13 to 1.17. 2013-12-30 15:32:51 +01:00
Domen Kožar
c9c52ee4f4 Merge pull request #1433 from DerGuteMoritz/chunksync
Add chunksync package
2013-12-30 06:08:01 -08:00
Moritz Heidkamp
29e16c62eb Add chunksync package 2013-12-30 15:04:25 +01:00
Rob Vermaas
5aa6c546dc Clarify a step from the quick start section. 2013-12-30 13:45:46 +01:00
Rob Vermaas
1e36663229 Update node packages 2013-12-30 13:24:51 +01:00
Rob Vermaas
96a51da082 Oraclejdk7: Fix hash and extracted path for jce_policy.zip. Add extra rpath. 2013-12-30 12:39:48 +01:00
Jonas Hoersch
5125b98602 network-manager-applet: re-do schema generation
fixes #1355. partial revert of f4d4e12c (introduced by #1313).

meta.priority is set to 6 (lower priority than standard) to resolve the
conflict of an exported gschemas.compiled for evince as for nm-applet.
this linked file is NOT consulted, as both binaries are wrapped to look
for their schemas in their nix store path first.

a better fix would avoid already avoid linking those gschemas.compiled
files into the environment.
2013-12-30 12:26:51 +01:00
Michael Raskin
950b785993 Use CLisp 2.44.1 for SBCL build --- some releases like it better for bootstrapping... 2013-12-30 14:17:48 +04:00
Mathijs Kwik
3668970f7f Merge pull request #1430 from wkennington/mtu
network-interfaces: Add mtu setting support
2013-12-30 00:53:45 -08:00
William A. Kennington III
c6ab810e37 network-interfaces: Add mtu setting support
Adds a setting to the network interface configuration for changing the
mtu for each specified interface.
2013-12-30 02:52:55 -06:00
William A. Kennington III
1c14b519ac pythonPackages.matplotlib: Update to use buildPythonPackage
Matplotlib is currently using hacked together build / install phases
which mimick this functionality of buildPythonPackage. This patch
changes the expression to remove the duplicated build scripting.
2013-12-30 02:42:12 -06:00
William A. Kennington III
c4e03f0739 openssh: Update from 6.2p2 -> 6.4p1
This patch also bumps up the HPN version of openssh so that it compiles
on top of 6.4. Along with the bump, a package was added for the high
performance networking version.

The gcmrekey patch was removed as this vulnerability is fixed in
version 6.4 onward. http://www.openssh.org/txt/gcmrekey.adv
2013-12-30 02:42:12 -06:00
Mathijs Kwik
9b056e1e3e Merge pull request #1431 from wkennington/vlan
network-interfaces: Add support for creating vlans
2013-12-30 00:40:02 -08:00
William A. Kennington III
cabc0647d9 network-interfaces: Add support for creating vlans
This patch adds support for vlan creation at machine startup, so that we
can adjust interface settings for vlan devices using nix.
2013-12-29 21:54:24 -06:00
William A. Kennington III
0270be1eb6 subversion: Update from 1.7.14 -> 1.8.5 2013-12-30 00:08:59 +00:00
Marius Rejdak
2da33b4ecf tint2 nixpkg 2013-12-29 23:35:46 +01:00
Michael Raskin
26b3d0ab50 Update unstable Wine to 1.7.9 2013-12-30 02:32:19 +04:00