nix-gh/scripts
Eelco Dolstra 6814b1dfa1 Generate binary tarballs for installing Nix
For several platforms we don't currently have "native" Nix packages
(e.g. Mac OS X and FreeBSD).  This provides the next best thing: a
tarball containing the closure of Nix, plus a simple script
"nix-finish-install" that initialises the Nix database, registers the
paths in the closure as valid, and runs "nix-env -i /path/to/nix" to
initialise the user profile.

The tarball must be unpacked in the root directory.  It creates
/nix/store/... and /usr/bin/nix-finish-install.  Typical installation
is as follows:

  $ cd /
  $ tar xvf /path/to/nix-1.1pre1234_abcdef-x86_64-linux.tar.bz2
  $ nix-finish-install
  (if necessary add ~/.nix-profile/etc/profile.d/nix.sh to the shell
  login scripts)

After this, /usr/bin/nix-finish-install can be deleted, if desired.

The downside to the binary tarball is that it's pretty big (~55 MiB
for x86_64-linux).
2012-05-22 18:36:54 -04:00
..
build-remote.pl.in Support mandatory system features in the build hook 2012-04-30 17:22:45 -04:00
copy-from-other-stores.pl.in * Add a -I flag to the Perl bindings to nix-build and some other 2012-01-05 20:33:46 +00:00
copying-collector.pl * I said it couldn't be done. I was wrong. 2005-04-04 15:18:19 +00:00
download-using-manifests.pl.in * download-using-manifests: use the Perl bindings. 2011-11-29 13:01:24 +00:00
find-runtime-roots.pl.in * Set the executable bit on scripts. 2011-10-10 22:40:17 +00:00
install-nix-from-closure.sh Generate binary tarballs for installing Nix 2012-05-22 18:36:54 -04:00
Makefile.am * Move SSH.pm. 2011-10-11 11:45:36 +00:00
nix-build.in Handle the case where $SHELL is not set 2012-04-10 13:52:37 +02:00
nix-channel.in nix-channel --update: allow updating only the specified channels 2012-05-07 17:55:56 -04:00
nix-collect-garbage.in * Add a -I flag to the Perl bindings to nix-build and some other 2012-01-05 20:33:46 +00:00
nix-copy-closure.in If "pv" is available at compile time, hard-code its path 2012-04-13 14:41:33 +02:00
nix-generate-patches.in nix-generate-patches: Optionally write new patches to $NIX_ALL_PATCHES 2012-04-04 20:46:18 +00:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-install-package.in * Add a -I flag to the Perl bindings to nix-build and some other 2012-01-05 20:33:46 +00:00
nix-prefetch-url.in * nix-prefetch-url: rewritten in Perl. 2011-12-02 12:09:50 +00:00
nix-profile.sh.in Remove $FONTCONFIG_FILE hack from nix-profile.sh 2012-05-22 14:00:08 -04:00
nix-pull.in Now *really* prevent accumulation of old manifests 2012-05-07 17:23:26 -04:00
nix-push.in Remove unnecessary "system" argument 2012-04-14 18:48:11 +02:00
nix-reduce-build.in * Set the executable bit on scripts. 2011-10-10 22:40:17 +00:00
remove-patches.pl * Remove the localPaths feature in manifests since it's no longer used 2011-04-06 09:16:22 +00:00
show-duplication.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00