aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-31- replace %define with %globalMichel Alexandre Salim
2012-05-30Compress build logs on the fly using bzip2Eelco Dolstra
2012-05-30"nix-store -l": support compressed logsEelco Dolstra
2012-05-29Reserve some disk space for the garbage collectorEelco Dolstra
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-29Add option ‘build-keep-log’ to enable/disable writing of build logsEelco Dolstra
Fixes #26.
2012-05-24Clean up the installation section; document the generic binary tarballsEelco Dolstra
2012-05-22Fix owner/group in tar invocationEelco Dolstra
2012-05-22Generate binary tarballs for installing NixEelco Dolstra
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-22Remove $FONTCONFIG_FILE hack from nix-profile.shEelco Dolstra
It's no longer needed because Nixpkgs' fontconfig uses /etc/fonts/fonts.conf as a default, just like other distributions.
2012-05-21Add an experimental nix-make fileEelco Dolstra
To use it, just do (e.g.) "nix-build build.nix -A nix_env".
2012-05-12Bump version numberEelco Dolstra
2012-05-11Fix the install checkEelco Dolstra
2012-05-11Set release dateEelco Dolstra
2012-05-11Manual updatesEelco Dolstra
2012-05-11CSS tweaksEelco Dolstra
2012-05-11Use perl.libPrefix to (hopefully) fix the Cygwin buildEelco Dolstra
http://hydra.nixos.org/build/2602599
2012-05-10Build Ubuntu 12.04 packagesEelco Dolstra
2012-05-10Document "nix-build --run-env"Eelco Dolstra
2012-05-10Support building with the Perl XS bindings disabledEelco Dolstra
Since the Perl bindings require shared libraries, this is required on platforms such as Cygwin where we do a static build.
2012-05-10Document "nix-store --add"Eelco Dolstra
2012-05-10Remove an obsolete hackEelco Dolstra
2012-05-09Disable building in chroot for Nix's corepkgsEelco Dolstra
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-09Document some nix-store subcommandsEelco Dolstra
2012-05-09Document $NIX_PATH / -IEelco Dolstra
2012-05-09Update the release notesEelco Dolstra
2012-05-08Remove obsolete files (moved to release tree)Eelco Dolstra
2012-05-07nix-channel --update: allow updating only the specified channelsEelco Dolstra
2012-05-07Now *really* prevent accumulation of old manifestsEelco Dolstra
2012-05-04Fix some 32-bit buildsEelco Dolstra
Perl on some 32-bit systems needs -D_FILE_OFFSET_BITS=64. See also commit 02f1363e19b7df7cccc3523805bbf4fafe429529.
2012-05-04Drop the Perl-specific CFLAGSEelco Dolstra
This fixes the Darwin build (http://hydra.nixos.org/build/2517380). Hopefully it doesn't break other builds.
2012-05-04Don't build for old Debian/Ubuntu releases that don't have a sufficiently ↵Eelco Dolstra
new SQLite
2012-05-04Don't build for old Fedora releases that don't have a sufficiently new SQLiteEelco Dolstra
2012-05-04Require SQLite >= 3.6.19Eelco Dolstra
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-01Use mkpath instead of make_pathEelco Dolstra
Perl <= 5.10 doesn't have make_path. See e.g. http://hydra.nixos.org/build/2493981.
2012-05-01Do "make installcheck" for RPM buildsEelco Dolstra
2012-05-01Do "make installcheck" for Debian buildsEelco Dolstra
2012-04-30* Add an option ‘build-use-substitutes’, which can be set to ‘false’Eelco Dolstra
to disable use of substitutes; i.e., force building from source. Fixes Nix/221.
2012-04-30Support mandatory system features in the build hookEelco Dolstra
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-30Update the documentation of build-remote.plEelco Dolstra
2012-04-30Handle EPERM when creating a hard link for the chrootEelco Dolstra
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-26Don't use the build hook for unpacking channelsEelco Dolstra
2012-04-24Fix a warning in the build hook about $progressViewerEelco Dolstra
2012-04-23Merge pull request #2 from viric/masterEelco Dolstra
Again, adding the sync option
2012-04-18Fix URL set by nix-channelEelco Dolstra
2012-04-17nix-instantiate: default to "default.nix" if no arguments are givenEelco Dolstra
2012-04-17Added utility command ‘nix-instantiate --find-file’ to look up a file in ↵Eelco Dolstra
Nix's search path
2012-04-16Hack to prevent accumulation of old manifestsEelco Dolstra
2012-04-16Fix obscure race condition in GC root creationEelco Dolstra
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-15Set a few more close-on-exec flagsEelco Dolstra
2012-04-15Close almost all file descriptors in the builderEelco Dolstra
This regression was accidentally introduced in 35355fc1fcffbe859395e360c0a6a1463f137d63.