Commit Graph

37709 Commits

Author SHA1 Message Date
Shea Levy
ac2035287f Greatly reduce kernel closure size
Based on access analysis with strace, I determined an essentially
minimal required set of files from the kernel source that was needed to
build all current kernel packages on 3.10, which ultimately resulted in
keeping 30M of source. Generalizing from that minimal set, which
required ad-hoc specifications of which headers outside of include/ and
arch/*/include and which files in the scripts/ directory should be kept,
to a policy of keeping all non-arch-specific headers that aren't part of
the drivers/ directory and the entire scripts/ directory added an
additional 17M, but there was nothing in the analysis that indicated
that that ad-hoc specification was at all complete so I think the extra
hit is worth the likely greater compatibility.

For reference, we now keep:

* All headers that are NOT in arch/${notTargetArch}/include or drivers/
* The scripts/ directory
* Makefile
* arch/${targetArch}/Makefile

IMO the most likely cause of future problems are the headers in
drivers/, but hopefully they won't actually be needed as they add 50M
Ideally kernel packages would only use include and
arch/${targetArch}/include, but alas this is observably not the case.

master:
  * $out
    * size: 234M
    * references-closure: linux-headers, glibc, attr, acl, zlib, gcc,
      coreutils, perl, bash
merge-kernel-builds:
  * $out
    * size: 152M
    * references-closure: none
  * $dev
    * size: 57M
    * references-closure: linux-headers, glibc, zlib, gcc

So even with the non-minimal set we still beat out master. Keeping the
drivers headers would make us only slightly bigger.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-05 06:55:47 -05:00
Nixpkgs Monitor
a4d4ddb8ef youtubeDL: update from 2013.12.20 to 2014.01.03 2014-01-05 08:15:21 +02:00
Shea Levy
a589bfae17 Update and fix kernel packages to new kernel build
In most cases, this just meant changing kernelDev (now removed from
linuxPackagesFor) to kernel.dev. Some packages needed more work (though
whether that was because of my changes or because they were already
broken, I'm not sure). Specifics:

* psmouse-alps builds on 3.4 but not 3.10, as noted in the comments that
  were already there
* blcr builds on 3.4 but not 3.10, as noted in comments that were
  already there
* open-iscsi, ati-drivers, wis-go7007, and openafsClient don't build on
  3.4 or 3.10 on this branch or on master, so they're marked broken
* A version-specific kernelHeaders package was added

The following packages were removed:

* atheros/madwifi is superceded by official ath*k modules
* aufs is no longer used by any of our kernels
* broadcom-sta v6 (which was already packaged) replaces broadcom-sta
* exmap has not been updated since 2011 and doesn't build
* iscis-target has not been updated since 2010 and doesn't build
* iwlwifi is part of mainline now and doesn't build
* nivida-x11-legacy-96 hasn't been updated since 2008 and doesn't build

Everything not specifically mentioned above builds successfully on 3.10.
I haven't yet tested on 3.4, but will before opening a pull request.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-04 21:17:04 -05:00
Michael Raskin
75f97f5299 Update Octave to 3.8.0 2014-01-05 02:49:45 +04:00
Michael Raskin
30ddb92a2d Merge pull request #1457 from iyzsong/supercollider
add SuperCollider 3.6.6
2014-01-04 05:51:25 -08:00
Song Wenwu
5f3a737d79 add SuperCollider 3.6.6 2014-01-04 21:39:35 +08:00
Michael Raskin
f6d51f7717 Buid Xvnc in TigerVNC 2014-01-04 15:02:52 +04:00
Michael Raskin
ad45ac4c2a Update ZPAQ 2014-01-04 15:01:30 +04:00
Vladimír Čunát
3ee1c031b5 glibc: pull a bug work-around from Arch (i686-only ATM)
This should work around some of our build problems,
e.g. http://hydra.nixos.org/build/7575893/nixlog/1/tail-reload

Cf. #1446; unconditional on stdenv-updates: c6b92053c
2014-01-04 11:53:02 +01:00
Michael Raskin
e89aa035b9 Update Wine 2014-01-04 14:55:42 +04:00
Shea Levy
2c55194859 Update bower2nix
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-03 14:27:07 -05:00
Shea Levy
2394ef4603 Add bower2nix and update nix packages
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-03 14:15:36 -05:00
Bjørn Forsman
4db6bcf209 ngrep: new package
ngrep is a command-line network packet analyzer.

http://ngrep.sourceforge.net/
2014-01-03 16:49:23 +01:00
Domen Kožar
986db66d12 NetworkManager(applet): 0.9.8.4 -> 0.9.8.8 (bluez5 support) 2014-01-03 13:39:40 +01:00
Peter Simons
72629aa7da sane-backends-git: update to version 1.0.24.73-g6c4f6bc (i.e. current Git HEAD) 2014-01-03 12:42:48 +01:00
Domen Kožar
38fcedcd5f Merge pull request #1380 from offlinehacker/pkgs/ati-drivers/fix_download
ati-drivers: fix download
2014-01-03 03:40:36 -08:00
Eelco Dolstra
0c93c758bf postgresql: Update to 8.4.19, 9.0.15, 9.1.11, 9.2.6
This is a critical update fixing several data corruption issues:

  http://www.postgresql.org/about/news/1492/
2014-01-03 11:54:52 +01:00
Eelco Dolstra
ca8de63797 postgresql-8.3: Remove
The 8.3 branch is no longer maintained so it shouldn't be used.
2014-01-03 11:51:02 +01:00
Eelco Dolstra
37107edafe btrfs-progs: Don't use a non-standard meta attribute 2014-01-03 11:49:38 +01:00
Lluís Batlle i Rossell
ab7069eec4 zsnes seems to work better, without stripping.
I can't understand why. Without disabling stripping, it segfaults
saving state.
2014-01-03 00:54:59 +01:00
Domen Kožar
ddda0dfc60 pythonPackages.nose: skip failing test 2014-01-02 23:38:27 +01:00
Domen Kožar
3ef95f0582 Merge pull request #1453 from ttuegel/clementine
Add clementine-1.2.1 and dependencies
2014-01-02 14:21:18 -08:00
Thomas Tuegel
ef108a8d31 add sparsehash-2.0.2 2014-01-02 14:49:23 -06:00
Thomas Tuegel
776dea8d24 add clementine-1.2.1 2014-01-02 14:49:22 -06:00
Domen Kožar
d76654a55c Merge pull request #1444 from ttuegel/qtcurve
add qtcurve-1.8.17
2014-01-02 12:31:54 -08:00
Domen Kožar
f9ad40a39b Merge pull request #1443 from ttuegel/kde-gtk-config
add kde-gtk-config-2.2.1
2014-01-02 12:29:06 -08:00
Domen Kožar
ef406e0bb6 Merge pull request #1391 from coroa/nm-applet
network-manager-applet: re-do schema generation
2014-01-02 12:20:29 -08:00
Domen Kožar
9737d898f3 Merge pull request #1416 from wkennington/matplot
Update matplotlib to use buildPythonPackage
2014-01-02 12:09:04 -08:00
Domen Kožar
4f97ab19a5 Merge pull request #1452 from ttuegel/networkmanager
Fix networkmanager-pptp
2014-01-02 12:02:53 -08:00
Moritz Heidkamp
030a4c7f5d Add chunkfs package 2014-01-02 18:31:09 +00:00
Moritz Heidkamp
482d87a9b0 Set chunksync package's NIX_LDFLAGS to "-lgcc_s"
This works around the pthread_cancel issue
2014-01-02 18:28:13 +00:00
Thomas Tuegel
28a593469f networkmanager-pptp: fix checksum 2014-01-02 11:02:40 -06:00
Thomas Tuegel
6f768bf47c networkmanager: register PPTP service 2014-01-02 11:02:29 -06:00
Bjørn Forsman
4d6605e882 Whitespace fixes in package expressions I maintain 2014-01-02 17:58:08 +01:00
Michael Raskin
7fd542fad9 Merge pull request #1445 from wizeman/u/oraclejre7
oraclejre7: Add package (as a variant of oraclejdk7)
2014-01-02 07:51:05 -08:00
Michael Raskin
fd19376d26 Merge pull request #1441 from rszibele/xonotic
xonotic: compile the glx version and add a symlink to default to the sdl version.
2014-01-02 07:50:35 -08:00
Michael Raskin
07413e3d24 Merge pull request #1440 from rszibele/nexuiz
Added Nexuiz-2.5.2.
2014-01-02 07:48:33 -08:00
Michael Raskin
44c031b39d Merge pull request #1439 from iyzsong/dvtm
add dvtm 0.10
2014-01-02 07:47:16 -08:00
Michael Raskin
17253d8359 Merge pull request #1449 from wizeman/u/sane
saneBackends: Update to 1.0.24
2014-01-02 07:44:40 -08:00
Nixpkgs Monitor
4d3bf74b0a elixir: update from 0.11.2 to 0.12.0 2014-01-02 16:35:54 +01:00
Nixpkgs Monitor
a7ee7f394d pngcrush: update from 1.7.69 to 1.7.70 2014-01-02 16:35:05 +01:00
Ricardo M. Correia
dd93ce3378 saneBackends: Update to 1.0.24 2014-01-02 15:53:07 +01:00
Shea Levy
6b7ede300f systemtap: Remove from linuxPackagesFor
It doesn't seem to depend on the kernel in any way.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-02 00:03:49 -05:00
Shea Levy
2c38df1c5b kernel build: limit dev output footprint
This makes the disk usage footprint of building the kernel smaller in 3
ways:

1) There is no separate kernel source derivation
2) Rather than using the entire build tree, only the output of make
modules_prepare is kept in the $dev output (plus the module symbol
versioning file generated during the build)
3) Only the subset of the source tree known to be needed for external
builds is kept in $dev

Note that while 2) is supported by official kernel documentation, I
couldn't find any source describing what we need to keep for 3). I've
started with the bare minimum (the main Makefile is called by the
Makefile generated by make modules_prepare) and we can/should add more
as needed for kernelPackages.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-01 23:56:24 -05:00
Mathijs Kwik
fd343dc0c6 haskell-bson: depend on binary 0.7.1.0 2014-01-01 23:36:56 +01:00
Domen Kožar
3710322678 Merge pull request #1442 from ttuegel/vim
vim: enable support for Lua
2014-01-01 14:28:45 -08:00
Ricardo M. Correia
46ee416b91 oraclejre7: Add package (as a variant of oraclejdk7) 2014-01-01 21:30:53 +01:00
Domen Kožar
28acbbef3a vim: ft-nix-support: update keywords, add builtins 2014-01-01 21:22:02 +01:00
Mathijs Kwik
66d930b355 Merge pull request #1432 from wkennington/bond
network-interfaces: Add the ability to create bond devices
2014-01-01 10:50:41 -08:00
Thomas Tuegel
36b7499885 add qtcurve-1.8.17 2014-01-01 12:36:45 -06:00