Commit Graph
159433 Commits
Author SHA1 Message Date
Eelco Dolstra 6d2ca42b30 svn path=/nixos/branches/modular-nixos/; revision=15741 2009-05-27 09:01:45 +00:00
Eelco Dolstra 98cce35041 * Turn the top-level derivation of a NixOS configuration ("system")
into a NixOS module (modules/system/activation/top-level.nix -
  couldn't think of a better name).  The top-level derivation is
  returned in config.system.build.system.
* Inlined system.sh in top-level.nix so that we don't have to pass
  everything through environment variables.

svn path=/nixos/branches/modular-nixos/; revision=15740
2009-05-27 09:00:45 +00:00
Eelco Dolstra 7ac0b3aaea * Make modules/system/boot/stage-1.nix a proper module that exports
the initial ramdisk as config.system.build.bootStage1.

svn path=/nixos/branches/modular-nixos/; revision=15739
2009-05-27 08:14:06 +00:00
Ludovic Courtès 8c2a5ccdcb Add Autojump, a smart replacement for `cd'.
svn path=/nixpkgs/trunk/; revision=15738
2009-05-26 22:05:05 +00:00
Eelco Dolstra ded055c896 * Remove an attrset comparison.
svn path=/nixpkgs/trunk/; revision=15736
2009-05-26 16:25:59 +00:00
Eelco Dolstra c36d75a40a * Latest unstable Nix.
svn path=/nixpkgs/trunk/; revision=15735
2009-05-26 16:25:41 +00:00
Eelco Dolstra 8b52e84e1a * Fix a comparison of function values (disallowed in the Nix trunk).
Thanks to Nicolas.

svn path=/nixpkgs/trunk/; revision=15734
2009-05-26 16:00:30 +00:00
Nicolas Pierron 47f70fda2f Fix fullDepEntry location in setuid-wrappers.nix.
svn path=/nixos/branches/modular-nixos/; revision=15733
2009-05-26 14:10:20 +00:00
Rob Vermaas 3c21e81203 * added qemu to channel
svn path=/nixpkgs/trunk/; revision=15732
2009-05-26 13:27:42 +00:00
Ludovic Courtès 010edd3739 buildPythonPackage: Simplify attribute inheritance.
Suggested by Eelco Dolstra.

svn path=/nixpkgs/trunk/; revision=15731
2009-05-26 10:03:33 +00:00
Eelco Dolstra af07eae056 * This config.system.build.system thing doesn't seem to be used.
svn path=/nixos/branches/modular-nixos/; revision=15730
2009-05-25 18:42:44 +00:00
Eelco Dolstra 1635ec4bdf * Put strings-with-deps in lib.
svn path=/nixpkgs/trunk/; revision=15729
2009-05-25 18:22:19 +00:00
Eelco Dolstra d4a87dd5e2 svn path=/nixos/branches/modular-nixos/; revision=15728 2009-05-25 17:52:43 +00:00
Eelco Dolstra 60b3f95ad8 * Move the definition of the set of system packages to
modules/config/system-path.nix.  system/system.nix is now almost
  empty.
* Removed the cleanStart option - it should be possible to get the
  same functionality by overriding config.system.path (or defining
  config.system.systemPackages with a higher priority - don't know if
  that works though).

svn path=/nixos/branches/modular-nixos/; revision=15727
2009-05-25 17:41:03 +00:00
Eelco Dolstra c96f0d75f0 * Move the setuid wrappers activation scriptlet to
modules/security/setuid-wrappers.nix.
* Removed the "path" activation scriptlet.  The partial ordering was
  underspecified (there was nothing ensuring that it came near the end
  of the activation script), and it wasn't needed in any case.

svn path=/nixos/branches/modular-nixos/; revision=15726
2009-05-25 15:36:57 +00:00
Eelco Dolstra 278b15d840 * More moving.
svn path=/nixos/branches/modular-nixos/; revision=15725
2009-05-25 14:19:33 +00:00
Eelco Dolstra 6e066c8e1d * Idem.
svn path=/nixos/branches/modular-nixos/; revision=15724
2009-05-25 13:55:36 +00:00
Eelco Dolstra 94993518d7 * I'm pretty sure the i18n module shouldn't be conditional on
pulseaudio :-)

svn path=/nixos/branches/modular-nixos/; revision=15723
2009-05-25 13:52:18 +00:00
Eelco Dolstra a65aae0140 * Moved more modules.
svn path=/nixos/branches/modular-nixos/; revision=15722
2009-05-25 13:42:46 +00:00
Peter Simons fb9b06d694 Commented out broken packages eclipse{Spoofax,MinimalPlugins}.
Unfortunately, the package database is still broken:

  $ nix-env -u \*
  trace: Str("Deprecated use of lib.getAttr!",[])

svn path=/nixpkgs/trunk/; revision=15721
2009-05-25 11:03:56 +00:00
Peter Simons bf1efc6653 commented out non-existent package eclipseCDT
svn path=/nixpkgs/trunk/; revision=15720
2009-05-25 10:59:45 +00:00
Eelco Dolstra f1fb3b45cf * No camelCase in filenames. Also pluralise the *-manager directories
for consistency.

svn path=/nixos/branches/modular-nixos/; revision=15719
2009-05-25 09:02:29 +00:00
Ludovic Courtès c6e65bd1c6 doc: Mention `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15718
2009-05-25 00:10:20 +00:00
Eelco Dolstra 5ebdee3577 * Continued refactoring the tree: moved most Upstart jobs (namely
those that run daemons) to modules/services.  This probably broke
  some things since there are a few relative paths in modules
  (e.g. imports of system/ids.nix).
* Moved some PAM modules out of etc/pam.d to the directories of NixOS
  modules that use them.

svn path=/nixos/branches/modular-nixos/; revision=15717
2009-05-24 23:13:23 +00:00
Eelco Dolstra f86e2e5d01 * Typo.
svn path=/nixos/branches/modular-nixos/; revision=15716
2009-05-24 22:49:06 +00:00
Ludovic Courtès f08797b1a3 Add Zbase32, and Pyutil.
svn path=/nixpkgs/trunk/; revision=15715
2009-05-24 22:15:26 +00:00
Marc Weber dc707dff08 job openvpn: modprobe tun
svn path=/nixos/branches/modular-nixos/; revision=15714
2009-05-24 22:13:27 +00:00
Ludovic Courtès 2dbba5bb17 Add `setuptools_darcs'.
svn path=/nixpkgs/trunk/; revision=15713
2009-05-24 21:55:39 +00:00
Ludovic Courtès 03f2655e97 Python packages: Sort packages alphabetically.
svn path=/nixpkgs/trunk/; revision=15712
2009-05-24 21:33:53 +00:00
Lluís Batlle i Rossell 51321bceed Updating akonadi, because the src URL gave 404
svn path=/nixpkgs/trunk/; revision=15711
2009-05-24 21:32:57 +00:00
Ludovic Courtès eb59c50308 Remove from all-packages.nix' packages that are now in python-packages.nix'.
svn path=/nixpkgs/trunk/; revision=15710
2009-05-24 21:27:30 +00:00
Ludovic Courtès 5b7525c631 Move Twisted to `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15709
2009-05-24 21:25:29 +00:00
Ludovic Courtès 4fc80e9497 buildPythonPackage: Handle patches.
svn path=/nixpkgs/trunk/; revision=15708
2009-05-24 21:14:32 +00:00
Ludovic Courtès bede9c4d50 Change Nevow, SimpleJSON, and Foolscap to use `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15707
2009-05-24 21:08:39 +00:00
Ludovic Courtès 7c34f5744b Add a `buildPythonPackage' function.
svn path=/nixpkgs/trunk/; revision=15706
2009-05-24 21:02:59 +00:00
Michael Raskin debbb8a199 Made example of configurable DVD working with aby common base dir for NixOS/NixPkgs/Nix/configurations checkout
svn path=/nixos/trunk/; revision=15705
2009-05-24 20:30:02 +00:00
Michael Raskin 575631b72a I officially abandon old RescueCD rewrite. I made official version tunable by a small patch..
svn path=/nixos/trunk/; revision=15704
2009-05-24 20:28:09 +00:00
Eelco Dolstra c0209d000a svn path=/nixos/branches/modular-nixos/; revision=15703 2009-05-24 18:49:10 +00:00
Eelco Dolstra c66094a310 * Filenames should generally be in lowercase.
svn path=/nixos/branches/modular-nixos/; revision=15702
2009-05-24 18:36:32 +00:00
Eelco Dolstra d6b30cd513 * Include the Glibc locales.
svn path=/nixos/branches/modular-nixos/; revision=15701
2009-05-24 18:34:31 +00:00
Eelco Dolstra 3f03fbe278 * lib.getAttr renamed.
svn path=/nixos/branches/modular-nixos/; revision=15700
2009-05-24 18:28:30 +00:00
Eelco Dolstra 8d7bf1a11e * Typo.
svn path=/nixpkgs/trunk/; revision=15699
2009-05-24 18:12:39 +00:00
Ludovic Courtès fb087d2598 GNU Ed 1.3.
svn path=/nixpkgs/trunk/; revision=15698
2009-05-24 17:45:43 +00:00
Michael Raskin f4e6e80bcf Restoring builderDefs functionality in setuptools
svn path=/nixpkgs/trunk/; revision=15697
2009-05-24 12:20:08 +00:00
Marc Weber dafb4b8c5d removed all __primops from nixos
svn path=/nixos/trunk/; revision=15696
2009-05-24 10:58:28 +00:00
Marc Weber 6b2f1a0ce9 lib.getAttr -> lib.attrByPath
svn path=/nixos/trunk/; revision=15695
2009-05-24 10:58:24 +00:00
Marc Weber ed69e9ed94 getAttr can call builtins.getAttr
svn path=/nixpkgs/trunk/; revision=15694
2009-05-24 10:57:49 +00:00
Marc Weber 3157bb1098 removed all __primops from nixpkgs
svn path=/nixpkgs/trunk/; revision=15693
2009-05-24 10:57:46 +00:00
Marc Weber f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00
Marc Weber 62620f0411 add usage example to makeOverridable
svn path=/nixpkgs/trunk/; revision=15691
2009-05-24 10:57:32 +00:00