Commit graph

13 commits

Author SHA1 Message Date
Ludovic Courtès 3a973ab55c nixos-rebuild: Determine $NIXPKGS' from $NIXOS' by default.
svn path=/nixos/trunk/; revision=11200
2008-03-19 12:27:30 +00:00
Eelco Dolstra 473d75fc46 * Typo.
svn path=/nixos/trunk/; revision=11199
2008-03-19 12:21:09 +00:00
Eelco Dolstra 95d41d5e27 * Allow the location of Nixpkgs to be specified through $NIXPKGS.
* $NIXOS_NO_PULL: changed to $NIXOS_PULL (which should be set to "0"
  to disable pulling).
* New variable $NIXOS_BUILD_NIX, which can be set to "0" to disable
  building nixUnstable from Nixpkgs.

svn path=/nixos/trunk/; revision=11096
2008-03-13 10:17:42 +00:00
Eelco Dolstra 35f5252630 * If building nixFallback fails, use nixUnstable from Nixpkgs as
a last-chance fallback.

svn path=/nixos/trunk/; revision=10050
2008-01-02 15:30:31 +00:00
Eelco Dolstra d2377fae72 * Make sure that /nix/var/nix/channel-cache exists.
svn path=/nixos/trunk/; revision=9854
2007-12-04 12:31:00 +00:00
Eelco Dolstra b9dd7509b6 * nixos-rebuild: before building NixOS, first build the latest Nix and
use that one to build NixOS.  This will make it easier to use
  bleeding-edge features in the NixOS expressions.

svn path=/nixos/trunk/; revision=9336
2007-09-18 15:38:05 +00:00
Eelco Dolstra f2780fdc62 * Add a top-level default.nix for NixOS which has attributes useful
for building parts of the system.  E.g.

  $ nix-build /etc/nixos/nixos -A upstartJobs.xserver

  to build the Upstart job for the X server, or

  $ nix-build /etc/nixos/nixos -A kernel

  to build the NixOS kernel.

* /etc/profile.sh: if ~/.nix-defexpr doesn't exist yet, create it as a
  directory and add links to root's channels, /etc/nixos/nixos and
  /etc/nixos/install-source.nix (as "nixpkgs_sys").
  
* boot.useKernel -> boot.kernel.

svn path=/nixos/trunk/; revision=9334
2007-09-18 15:06:24 +00:00
Eelco Dolstra 2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
  default).  The contents of the sudoers file is specified in
  security.sudo.configFile.  The default sudoers file allows members
  of the new "wheel" group to run any command.

svn path=/nixos/trunk/; revision=9138
2007-08-16 15:09:06 +00:00
Eelco Dolstra ad22e587ab * nixos-rebuild: do a nix-pull on the Nixpkgs channel manifest. I.e., you
don't need to be subscribed to the Nixpkgs channel to get binary downloads.
  This is possible because nix-pull is now pretty fast.

svn path=/nixos/trunk/; revision=9133
2007-08-15 12:01:20 +00:00
Eelco Dolstra 1551c50a20 svn path=/nixos/trunk/; revision=7857 2007-02-06 13:21:15 +00:00
Eelco Dolstra b044899891 * A helpful warning.
svn path=/nixos/trunk/; revision=7856
2007-02-06 13:20:53 +00:00
Eelco Dolstra 5d0f7bdadd * Better checking.
svn path=/nixos/trunk/; revision=7854
2007-02-06 13:12:10 +00:00
Eelco Dolstra 08ad51690d * Merge the test and upgrade scripts into a program "nixos-rebuild"
which is included in the system path.

svn path=/nixos/trunk/; revision=7853
2007-02-06 13:09:25 +00:00