about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-29 Reserve some disk space for the garbage collectorEelco Dolstra9-11/+35
We can't open a SQLite database if the disk is full. Since this prevents the garbage collector from running when it's most needed, we reserve some dummy space that we can free just before doing a garbage collection. This actually revives some old code from the Berkeley DB days. Fixes #27.
2012-05-29 Add option ‘build-keep-log’ to enable/disable writing of build logsEelco Dolstra3-1/+36
Fixes #26.
2012-05-24 Clean up the installation section; document the generic binary tarballsEelco Dolstra1-96/+148
2012-05-22 Fix owner/group in tar invocationEelco Dolstra1-1/+1
2012-05-22 Generate binary tarballs for installing NixEelco Dolstra2-1/+68
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 Remove $FONTCONFIG_FILE hack from nix-profile.shEelco Dolstra1-7/+0
It's no longer needed because Nixpkgs' fontconfig uses /etc/fonts/fonts.conf as a default, just like other distributions.
2012-05-21 Add an experimental nix-make fileEelco Dolstra1-0/+169
To use it, just do (e.g.) "nix-build build.nix -A nix_env".
2012-05-12 Bump version numberEelco Dolstra1-1/+1
2012-05-11 Fix the install checkEelco Dolstra1-14/+3
2012-05-11 Set release dateEelco Dolstra1-1/+1
2012-05-11 Manual updatesEelco Dolstra6-75/+132
2012-05-11 CSS tweaksEelco Dolstra1-69/+32
2012-05-11 Use perl.libPrefix to (hopefully) fix the Cygwin buildEelco Dolstra1-6/+6
http://hydra.nixos.org/build/2602599
2012-05-10 Build Ubuntu 12.04 packagesEelco Dolstra1-0/+2
2012-05-10 Document "nix-build --run-env"Eelco Dolstra1-1/+50
2012-05-10 Support building with the Perl XS bindings disabledEelco Dolstra5-12/+92
Since the Perl bindings require shared libraries, this is required on platforms such as Cygwin where we do a static build.
2012-05-10 Document "nix-store --add"Eelco Dolstra1-0/+34
2012-05-10 Remove an obsolete hackEelco Dolstra1-3/+0
2012-05-09 Disable building in chroot for Nix's corepkgsEelco Dolstra3-0/+10
The dependencies of the corepkgs are not necessarily in the chroot (or in the Nix store), so don't build them in a chroot.
2012-05-09 Document some nix-store subcommandsEelco Dolstra3-1/+170
2012-05-09 Document $NIX_PATH / -IEelco Dolstra3-13/+66
2012-05-09 Update the release notesEelco Dolstra1-12/+82
2012-05-08 Remove obsolete files (moved to release tree)Eelco Dolstra4-157/+0
2012-05-07 nix-channel --update: allow updating only the specified channelsEelco Dolstra2-10/+14
2012-05-07 Now *really* prevent accumulation of old manifestsEelco Dolstra1-2/+4
2012-05-04 Fix some 32-bit buildsEelco Dolstra1-1/+2
Perl on some 32-bit systems needs -D_FILE_OFFSET_BITS=64. See also commit 02f1363e19b7df7cccc3523805bbf4fafe429529.
2012-05-04 Drop the Perl-specific CFLAGSEelco Dolstra1-2/+1
This fixes the Darwin build (http://hydra.nixos.org/build/2517380). Hopefully it doesn't break other builds.
2012-05-04 Don't build for old Debian/Ubuntu releases that don't have a sufficiently ↵Eelco Dolstra1-4/+0
new SQLite
2012-05-04 Don't build for old Fedora releases that don't have a sufficiently new SQLiteEelco Dolstra1-4/+0
2012-05-04 Require SQLite >= 3.6.19Eelco Dolstra1-1/+1
Nix needs SQLite's foreign key constraint feature, which was introduced in 3.6.19. Without it, the database won't be cleaned up correctly when paths are deleted. See e.g. http://hydra.nixos.org/build/2494142.
2012-05-01 Use mkpath instead of make_pathEelco Dolstra1-2/+2
Perl <= 5.10 doesn't have make_path. See e.g. http://hydra.nixos.org/build/2493981.
2012-05-01 Do "make installcheck" for RPM buildsEelco Dolstra1-0/+1
2012-05-01 Do "make installcheck" for Debian buildsEelco Dolstra1-0/+4
2012-04-30 * Add an option ‘build-use-substitutes’, which can be set to ‘false’Eelco Dolstra6-4/+23
to disable use of substitutes; i.e., force building from source. Fixes Nix/221.
2012-04-30 Support mandatory system features in the build hookEelco Dolstra2-7/+22
Mandatory features are features that MUST be present in a derivation's requiredSystemFeatures attribute. One application is performance testing, where we have a dedicated machine to run performance tests (and nothing else). Then we would add the label "perf" to the machine's mandatory features and to the performance testing derivations.
2012-04-30 Update the documentation of build-remote.plEelco Dolstra3-96/+62
2012-04-30 Handle EPERM when creating a hard link for the chrootEelco Dolstra1-2/+5
There is a race condition when doing parallel builds with chroots and the immutable bit enabled. One process may call makeImmutable() before the other has called link(), in which case link() will fail with EPERM. We could retry or wrap the operation in a lock, but since this condition is rare and I'm lazy, we just use the existing copy fallback. Fixes #9.
2012-04-26 Don't use the build hook for unpacking channelsEelco Dolstra1-0/+2
2012-04-24 Fix a warning in the build hook about $progressViewerEelco Dolstra1-1/+1
2012-04-23 Merge pull request #2 from viric/masterEelco Dolstra1-0/+6
Again, adding the sync option
2012-04-18 Fix URL set by nix-channelEelco Dolstra1-1/+1
2012-04-17 nix-instantiate: default to "default.nix" if no arguments are givenEelco Dolstra2-3/+5
2012-04-17 Added utility command ‘nix-instantiate --find-file’ to look up a file in ↵Eelco Dolstra2-0/+26
Nix's search path
2012-04-16 Hack to prevent accumulation of old manifestsEelco Dolstra2-1/+3
2012-04-16 Fix obscure race condition in GC root creationEelco Dolstra1-16/+18
This should fix rare Hydra errors of the form: error: symlinking `/nix/var/nix/gcroots/per-user/hydra/hydra-roots/7sfhs5fdmjxm8sqgcpd0pgcsmz1kq0l0-nixos-iso-0.1pre33785-33795' to `/nix/store/7sfhs5fdmjxm8sqgcpd0pgcsmz1kq0l0-nixos-iso-0.1pre33785-33795': File exists
2012-04-15 Set a few more close-on-exec flagsEelco Dolstra1-0/+4
2012-04-15 Close almost all file descriptors in the builderEelco Dolstra1-0/+3
This regression was accidentally introduced in 35355fc1fcffbe859395e360c0a6a1463f137d63.
2012-04-14 If the (redirected) channel URL contains a version number, use itEelco Dolstra3-4/+10
2012-04-14 Follow redirects early to ensure consistency between the manifest and the ↵Eelco Dolstra1-0/+8
tarball Without this change, if the URL is a redirect that changes in between, we can get a manifest that doesn't match the tarball.
2012-04-14 Urgh, modified the wrong file...Eelco Dolstra1-1/+1