1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
Commit graph

1612 commits

Author SHA1 Message Date
Eelco Dolstra 551c80db47 * Sync.
svn path=/nixos/branches/modular-nixos/; revision=15635
2009-05-18 11:36:01 +00:00
Marc Weber 65908cccd1 Synced with trunk @ 15428, 15620
svn path=/nixos/branches/modular-nixos/; revision=15634
2009-05-18 11:30:33 +00:00
Eelco Dolstra 168268ba28 svn path=/nixos/trunk/; revision=15633 2009-05-18 11:27:20 +00:00
Eelco Dolstra 4dc9b6d378 * Function renamed.
svn path=/nixos/branches/modular-nixos/; revision=15631
2009-05-18 10:49:28 +00:00
Marc Weber 9dc4edbd4d Synced with trunk @ 15427
svn path=/nixos/branches/modular-nixos/; revision=15630
2009-05-18 10:25:36 +00:00
Marc Weber fa32ac7fb6 follow -r15428 and move the comment as well
svn path=/nixos/trunk/; revision=15620
2009-05-15 16:07:27 +00:00
Marc Weber 3148755063 * Synced with trunk @ 15424
svn path=/nixos/branches/modular-nixos/; revision=15619
2009-05-15 15:21:33 +00:00
Marc Weber aacdff7ad9 * Synced with trunk @ 15413
svn path=/nixos/branches/modular-nixos/; revision=15618
2009-05-15 15:19:59 +00:00
Marc Weber 7ef8db8aad * Synced with trunk @ 15408
svn path=/nixos/branches/modular-nixos/; revision=15617
2009-05-15 15:16:58 +00:00
Marc Weber d26f944b98 * Synced with trunk @ 15406
svn path=/nixos/branches/modular-nixos/; revision=15616
2009-05-15 15:15:59 +00:00
Marc Weber d29eaa100e * Synced with trunk @ 15396, 15397 (-> configurations repo)
svn path=/nixos/branches/modular-nixos/; revision=15615
2009-05-15 15:12:46 +00:00
Marc Weber d44206d2c4 * Synced with trunk @ 15391
svn path=/nixos/branches/modular-nixos/; revision=15612
2009-05-15 08:00:20 +00:00
Marc Weber 48e4b8f573 * Synced with trunk @ 15370
svn path=/nixos/branches/modular-nixos/; revision=15611
2009-05-15 07:55:47 +00:00
Marc Weber 1e16e6dee4 * Synced with trunk @ 15369
also adding missing assertion fixed in 15609

svn path=/nixos/branches/modular-nixos/; revision=15610
2009-05-15 07:51:51 +00:00
Marc Weber 3f79e158ba add missing assertion catching enabled xserver but disabled hal service
svn path=/nixos/trunk/; revision=15609
2009-05-15 07:39:36 +00:00
Marc Weber ecff4f580c * Synced with trunk @ 15368
svn path=/nixos/branches/modular-nixos/; revision=15608
2009-05-15 06:43:02 +00:00
Michael Raskin 60060261a0 Catch duplicate entries
svn path=/nixos/trunk/; revision=15580
2009-05-13 06:10:21 +00:00
Ludovic Courtès 52889b2323 Run `fsck' when on AC power.
In practice, it should only run once in a while, and should help
find inconsistencies or corruptions sooner.

See https://mail.cs.uu.nl/pipermail/nix-dev/2009-February/001827.html
for a discussion.


svn path=/nixos/trunk/; revision=15577
2009-05-12 17:46:51 +00:00
Ludovic Courtès 018cb283f2 Fix `grub-menu-builder.sh'.
Previously, since `nullglob' is active, `$(ls /boot/kernels/*)'
would translate into `$(ls)' when `/boot/kernels' is empty, which
would then lead to the removal of all the files under $PWD.

Additionally, if `/boot/kernels' was not empty, `$fn' would contain
only the basename of the files, whereas `$filesCopied' is indexed
by full paths.


svn path=/nixos/trunk/; revision=15548
2009-05-11 11:54:18 +00:00
Sander van der Burg 7aa1c2439c Some kdm fixes
svn path=/nixos/trunk/; revision=15519
2009-05-09 21:00:02 +00:00
Michael Raskin 5b368b22bf An option for times when I only want to init Nix in chroot and build system semi-manually.
svn path=/nixos/trunk/; revision=15509
2009-05-09 07:34:20 +00:00
Michael Raskin 5cbcb9762d More correct handling of services tarball
svn path=/nixos/trunk/; revision=15508
2009-05-09 07:31:56 +00:00
Eelco Dolstra 05a7e1368a * grub-menu-builder.sh: with copyKernels = true, don't delete all of
/boot/kernels and then copy all the kernels/initrds.  Instead, copy
  only the kernels/initrds that don't exist yet in /boot/kernels, then
  delete obsolete files in /boot/kernels.  Also, use slightly nicer
  file names in /boot/kernels.

svn path=/nixos/trunk/; revision=15505
2009-05-08 11:33:22 +00:00
Michael Raskin 5af2b1b580 Allow by-label mounting of root on removable device in the drive which does not report media change.
svn path=/nixos/trunk/; revision=15480
2009-05-07 04:24:45 +00:00
Eelco Dolstra eb32ab1ff2 * Support printing via HTTPS.
svn path=/nixos/trunk/; revision=15469
2009-05-06 13:17:14 +00:00
Eelco Dolstra d2b0268646 * Fixed URL.
svn path=/nixos/trunk/; revision=15468
2009-05-06 12:47:08 +00:00
Eelco Dolstra f7f64961ad * Make "kde" the default since "gnome" is broken.
svn path=/nixos/trunk/; revision=15464
2009-05-06 09:09:53 +00:00
Michael Raskin e4a1748226 Port main functionality of rescue-cd-configurable into rescue-cd.nix as a set of small fixes. Rogue, manual are now ordinary jobs. It is possible to include build dependencies. It is possible to choose one of a few configurations in the boot menu. Of course, configuration overrides may be passed
svn path=/nixos/trunk/; revision=15430
2009-05-03 11:37:20 +00:00
Michael Raskin 26e952582f Export some configuration data about on-boot layout
svn path=/nixos/trunk/; revision=15428
2009-05-03 11:08:17 +00:00
Michael Raskin d90d3420ef Replace theme sources with gentoo distfiles
svn path=/nixos/trunk/; revision=15427
2009-05-03 11:07:28 +00:00
Michael Raskin 9771cbbe21 Set devpts mode: failing to do so yields trouble with 2.6.30-rc
svn path=/nixos/trunk/; revision=15424
2009-05-02 16:25:23 +00:00
Marc Weber 738fc4e48c adding support for openvpn daemon client and/or server
svn path=/nixos/branches/modular-nixos/; revision=15421
2009-05-01 17:57:07 +00:00
Marc Weber 4f2725c54a adding autofs support to modular nixos.
autofs/automount is used to mount cdroms
floppies or network drivers on the fly..

svn path=/nixos/branches/modular-nixos/; revision=15420
2009-05-01 05:43:41 +00:00
Marc Weber 2470db9d74 also add uhci_hcd, thanks to ugo @ irc
svn path=/nixos/trunk/; revision=15413
2009-04-30 12:21:41 +00:00
Marc Weber 19ef6c7a1c put wmii in a loop cause it crashes once or twice a month
This also let's you change orientation. See comments

svn path=/nixos/branches/modular-nixos/; revision=15412
2009-04-30 11:37:23 +00:00
Marc Weber 3636fa1a04 fixing assertions using new assertion implementation
svn path=/nixos/branches/modular-nixos/; revision=15409
2009-04-30 02:29:58 +00:00
Eelco Dolstra ef64840085 * Don't hardcode values specific to the program transformation / Stratego wikis.
svn path=/nixos/trunk/; revision=15408
2009-04-29 17:03:58 +00:00
Eelco Dolstra a29bfb0d7b * Use the default Subversion (1.6).
svn path=/nixos/trunk/; revision=15407
2009-04-29 17:03:29 +00:00
Rob Vermaas 9325fa9ccc iwlwifi5000ucode from pkgs
svn path=/nixos/trunk/; revision=15397
2009-04-29 15:10:14 +00:00
Eelco Dolstra d29b8323e1 * Support loading the Intel 5000 firmware.
svn path=/nixos/trunk/; revision=15396
2009-04-29 14:51:17 +00:00
Rob Vermaas e3ad6a6f59 Added enableTCPIP option for postgresql (defaults to false) to allow tcpip connections
svn path=/nixos/trunk/; revision=15391
2009-04-29 12:25:25 +00:00
Marc Weber d804730382 adding assertion support to modular-nixos
problem: the nix language assert function can't be used because
of the fix-style used in modular-nixos. A minimal stripped down version
illustrating the problem looks like this:

fix (x : assert x.cfg.foo; { upstartJob = ...; cfg = ...; } )

Now nix has to evaluate x.cfg.foo in order to check the assertion.
However to do so it has to access x.cfg.foo beeing defined in the body
The body can only be evaluated after the assertion passes.
So in the end you get an infinite recursion error.

pierron mentioned that adding another mkIf like function could
work. Maybe this implementation is even simpler. It adds
another option collecting assertions only.
The evaluation is forced by a function adding an empty list to
extraPackages. extraPackages is evaluated by nixos in all cases.
If there are assertions evaluating to false all assertion messages are
presented to the user using throw.

svn path=/nixos/branches/modular-nixos/; revision=15387
2009-04-28 23:05:03 +00:00
Marc Weber 84b5d26ffc doh. my typo while merging
svn path=/nixos/branches/modular-nixos/; revision=15376
2009-04-28 14:01:11 +00:00
Marc Weber 0ba7449c11 * Synced with trunk @ 15348
svn path=/nixos/branches/modular-nixos/; revision=15374
2009-04-28 13:53:04 +00:00
Marc Weber fa9ceac862 * Synced with trunk @ 15346
svn path=/nixos/branches/modular-nixos/; revision=15373
2009-04-28 13:51:58 +00:00
Marc Weber fb1e6d5c80 * Synced with trunk @ 15345
svn path=/nixos/branches/modular-nixos/; revision=15372
2009-04-28 13:49:05 +00:00
Marc Weber addf00b1cf * Synced with trunk @ 15344
svn path=/nixos/branches/modular-nixos/; revision=15371
2009-04-28 13:44:43 +00:00
Eelco Dolstra 0f99f50e34 * Use lib/perl5/site_perl.
svn path=/nixos/trunk/; revision=15370
2009-04-28 13:43:48 +00:00
Eelco Dolstra 114109b709 * The X server now needs HAL running.
svn path=/nixos/trunk/; revision=15369
2009-04-28 13:43:22 +00:00
Eelco Dolstra 2cd1e7239f * Atomically update grub/menu.lst (although we really need an fsync here).
svn path=/nixos/trunk/; revision=15368
2009-04-28 13:43:03 +00:00