Commit Graph
43498 Commits
Author SHA1 Message Date
Nicolas Pierron b3b40ebf79 Add setAttrByPath:
- used to defined an attribute with its path as a list of attribute names.

svn path=/nixpkgs/trunk/; revision=17480
2009-09-28 18:22:44 +00:00
Nicolas Pierron 7ff2778cc6 Add splitString:
splitString "." "foo.bar.baz"  returns  ["foo" "bar" "baz"]

svn path=/nixpkgs/trunk/; revision=17479
2009-09-28 18:22:37 +00:00
Nicolas Pierron b0f639844a the tryEval builtin does not have a strict evaluation. Add the toXML
builtin to force the evaluation of the configuration value.  Thus the
success flag returned by tryEval corespond to the success of the
whole evaluation.

svn path=/nixpkgs/trunk/; revision=17478
2009-09-28 18:22:31 +00:00
Nicolas Pierron fad1b41fe4 externals argumental are now taking precedence over the result of
moduleMerge because we may need to alter the result of the configuration
before using it inside other options.

svn path=/nixpkgs/trunk/; revision=17477
2009-09-28 18:22:24 +00:00
Nicolas Pierron e6399964cb Add the zipLists and zipListsWith functions.
svn path=/nixpkgs/trunk/; revision=17476
2009-09-28 18:22:14 +00:00
Eelco Dolstra 373445c410 * Start bluetoothd from udev.
svn path=/nixos/trunk/; revision=17475
2009-09-28 16:37:46 +00:00
Eelco Dolstra 647d9ba3b6 * udev: removed the /var/run/devices-created hack. It's no longer
needed now that we don't use pam_devperm anymore.  When udev is
  restarted, it now asks ConsoleKit to get the active users and sets
  device ACLs accordingly.

svn path=/nixos/trunk/; revision=17474
2009-09-28 16:27:01 +00:00
Eelco Dolstra af88789507 * Bluez 4.54.
svn path=/nixpkgs/trunk/; revision=17473
2009-09-28 16:25:38 +00:00
Eelco Dolstra 06e126b48f * Latest libsmbios.
* Build HAL with libsmbios support.

svn path=/nixpkgs/trunk/; revision=17472
2009-09-28 15:33:42 +00:00
Peter Simons 6fd9468622 boost: updated to version 1.40.0
* Dropped classr.patch; it no longer applies to this version.

 * The "configure" script has been renamed to "bootstrap.sh".

 * The bootstrapping process generates no Makefile anymore; the build
   expression has to call bjam directly to build the libraries.

 * Perform build and install phase in one execution of bjam. This is a
   lot faster, because bjam won't check the dependencies twice.

svn path=/nixpkgs/trunk/; revision=17471
2009-09-28 15:11:01 +00:00
Peter Simons 045e10fe15 Link nbd package statically.
svn path=/nixpkgs/trunk/; revision=17470
2009-09-28 15:10:55 +00:00
Peter Simons 8d09b96e84 glib: enable building of a static version of this library
svn path=/nixpkgs/trunk/; revision=17469
2009-09-28 15:10:51 +00:00
Eelco Dolstra 9bc85fda47 * qemu-kvm 0.11.0.
svn path=/nixpkgs/trunk/; revision=17468
2009-09-28 14:28:20 +00:00
Andres Löh af2fec87d7 Updated ghc-core plus dependencies.
svn path=/nixpkgs/trunk/; revision=17467
2009-09-28 14:13:41 +00:00
Peter Simons ad7eebbad1 Revert "optionally apply git glob patch to default git"
Please submit patches *upstream*.

svn path=/nixpkgs/trunk/; revision=17466
2009-09-28 12:56:46 +00:00
Eelco Dolstra 9cd0893306 svn path=/nixpkgs/trunk/; revision=17465 2009-09-28 11:39:43 +00:00
Andres Löh 9669ae336a Added parsimony and polyparse, updated parsec.
svn path=/nixpkgs/trunk/; revision=17464
2009-09-28 11:29:19 +00:00
Lluís Batlle i Rossell 4163ff95b4 Reverting r17459 - I had wpa_supplicant addapted to my system (nic device), and
I didn't want to commit that for all nixos users. We may write some day a better
wpa_supplicant solution.

svn path=/nixos/trunk/; revision=17462
2009-09-27 21:54:38 +00:00
Lluís Batlle i Rossell b0a6c15f42 Fixing a reference to a grub in kdm, I hadn't tested before.
svn path=/nixos/trunk/; revision=17461
2009-09-27 21:51:47 +00:00
Lluís Batlle i Rossell 75f6cd20da Making modular my previous changes for armv5tel. I updated the way to use
grub. Its options are no more inside 'boot', but inside 'boot.loader.grub'.
I added a new bootloader configuration for nixos, generationsDir. It creates
/boot/default/{init,initrd,kernel,system} symlinks, and the same for the generations
in /boot/system-$gen/{init,initrd,kernel,system}.

I can program the u-boot loader to load /boot/default files always, and have
a minimal nixos boot loader installer functionality. Additionally, I can refer
to the other system generations easily, with a simple 'ls' in /boot.

svn path=/nixos/trunk/; revision=17460
2009-09-27 21:51:37 +00:00
Lluís Batlle i Rossell 852478ff79 Making supplicant work on eth1
svn path=/nixos/trunk/; revision=17459
2009-09-27 21:51:22 +00:00
Marc Weber 48865a4aa6 symlink duplicate git executables to bring down $out to 13MB (was > 100MB)
svn path=/nixpkgs/trunk/; revision=17458
2009-09-26 23:33:11 +00:00
Marc Weber afbb4d0b59 update topgit - using official release now
svn path=/nixpkgs/trunk/; revision=17457
2009-09-26 23:33:08 +00:00
Marc Weber c641935190 optionally apply git glob patch to default git
svn path=/nixpkgs/trunk/; revision=17456
2009-09-26 23:33:05 +00:00
Nicolas Pierron 5bf3abba14 Add the base of a highly experimental gui for NixOS.
svn path=/nixos/trunk/; revision=17455
2009-09-26 23:15:19 +00:00
Nicolas Pierron a701637f94 Use servicePath instead of relative paths.
svn path=/nixos/trunk/; revision=17454
2009-09-26 23:04:43 +00:00
Nicolas Pierron 13f467fc84 Remove values coming from the original sources because this may cause the evaluation of unsafe code.
Instead add the computed value under tryEval to catch bad evaluations.

svn path=/nixpkgs/trunk/; revision=17453
2009-09-26 23:01:35 +00:00
Eelco Dolstra c5d45514a1 * Don't restart dbus, since that causes ConsoleKit to forget about
current sessions.

svn path=/nixos/trunk/; revision=17452
2009-09-26 21:00:47 +00:00
Eelco Dolstra 17d0b83eef * Enable power management support in HAL. So now you can for instance
suspend from within KDE.

svn path=/nixos/trunk/; revision=17451
2009-09-26 20:37:48 +00:00
Eelco Dolstra b642db4d0e * Build HAL with pm-utils support.
svn path=/nixpkgs/trunk/; revision=17450
2009-09-26 20:29:26 +00:00
Eelco Dolstra 16583ec566 * Latest manpages.
svn path=/nixpkgs/trunk/; revision=17449
2009-09-26 19:08:49 +00:00
Eelco Dolstra b3818c1a77 * Add eject to the system path.
svn path=/nixos/trunk/; revision=17448
2009-09-26 18:57:34 +00:00
Eelco Dolstra 77ba759b5a * Install HAL's umount helper. This is necessary to allow non-root
users to unmount or eject removable media mounted through HAL from
  the command-line.

svn path=/nixpkgs/trunk/; revision=17447
2009-09-26 18:56:53 +00:00
Eelco Dolstra 363f3fd1b9 * Use /etc/pm for the configuration.
svn path=/nixpkgs/trunk/; revision=17446
2009-09-26 17:09:51 +00:00
Michael Raskin 0801921e7e Really fix mercurial version in name
svn path=/nixpkgs/trunk/; revision=17445
2009-09-26 15:08:47 +00:00
Lluís Batlle i Rossell 79090f21d4 Fixing the mercurial version in name
svn path=/nixpkgs/trunk/; revision=17444
2009-09-26 15:05:34 +00:00
Eelco Dolstra d568a59c86 * PolicyKit: install the manpages.
svn path=/nixpkgs/trunk/; revision=17440
2009-09-26 10:43:41 +00:00
Eelco Dolstra d933f55e45 * Tell PolicyKit about the policies of HAL and ConsoleKit.
svn path=/nixos/trunk/; revision=17439
2009-09-26 10:32:57 +00:00
Eelco Dolstra 7638cc573e * Read policy files from /etc/PolicyKit/policy instead of
$out/share/PolicyKit/policy - otherwise we can't let PolicyKit find
  the policies of other packages (such as HAL).

svn path=/nixpkgs/trunk/; revision=17438
2009-09-26 10:29:57 +00:00
Eelco Dolstra 693e017bfe * HAL expects a /media directory for mounting removable media.
svn path=/nixos/trunk/; revision=17437
2009-09-26 10:27:47 +00:00
Eelco Dolstra 3d5462c980 * Install a PolicyKit policy configuration file. There should be a
configuration option to add to this file.

svn path=/nixos/trunk/; revision=17436
2009-09-26 00:07:52 +00:00
Eelco Dolstra c07380798c * Use /etc/PolicyKit/PolicyKit.conf.
svn path=/nixpkgs/trunk/; revision=17435
2009-09-25 23:57:33 +00:00
Eelco Dolstra a83e308856 * Clean up ConsoleKit.
svn path=/nixos/trunk/; revision=17434
2009-09-25 23:18:52 +00:00
Eelco Dolstra 69f68c319d * A module for the old PolicyKit.
svn path=/nixos/trunk/; revision=17433
2009-09-25 23:06:38 +00:00
Eelco Dolstra a96c83d70e * Build HAL with ConsoleKit and PolicyKit support. Without it, HAL's
configure script prints out this ominous warning:

WARNING: PolicyKit is disabled. You need to manually edit the hal.conf
         file to lock down the service. Failure to do so allows any
         caller to make hald do work on their behalf which may be
         a huge SECURITY HOLE. I repeat: YOU NEED TO EDIT THE FILE
         hal.conf to match your distro/site to avoid NASTY SECURITY HOLES.

  Note that HAL only builds with the old PolicyKit (it looks for
  polkit.pc).  Reverted ConsoleKit to the last version that used the
  old PolicyKit for this reason.

svn path=/nixpkgs/trunk/; revision=17432
2009-09-25 23:05:53 +00:00
Eelco Dolstra 684eb63658 * fsck is no longer in e2fsprogs.
* Don't try to remount CIFS filesystems.
* For devices specified by label, use /dev/disk/by-label instead of
  LABEL=.  The initrd already did this.
* Improved the flagging of pseudo devices.

svn path=/nixos/trunk/; revision=17431
2009-09-25 22:38:37 +00:00
Eelco Dolstra ef2f9c1968 * Added pm-utils.
svn path=/nixpkgs/trunk/; revision=17430
2009-09-25 21:43:25 +00:00
Eelco Dolstra 90fc367427 * e2fsprogs 1.41.9.
svn path=/nixpkgs/trunk/; revision=17429
2009-09-25 20:53:21 +00:00
Eelco Dolstra 530c96761a * Start dbus after udev. Otherwise ConsoleKit may or may not
recognise X logins as active sessions (i.e. ck-list-sessions will
  show "active = FALSE", and the user doesn't get ownership of
  devices).  I guess console-kit-daemon (which is started by dbus)
  needs some device in /dev to exist.

svn path=/nixos/trunk/; revision=17428
2009-09-25 20:41:15 +00:00
Eelco Dolstra 3e5912833d * For consistency with Nixpkgs.
svn path=/nixos/trunk/; revision=17427
2009-09-25 20:12:35 +00:00