Eelco Dolstra
c1a07f9445
* Convert the Nix database to SQLite.
2010-02-18 13:16:59 +00:00
Eelco Dolstra
2723d9b56e
* If fdatasync() isn't available, use fsync().
2010-02-02 11:57:49 +00:00
Eelco Dolstra
327a232c85
* Remove support for old (before Nix 0.12pre12020) databases.
2009-11-06 01:15:44 +00:00
Sander van der Burg
53a4981fa2
Added optional parameter which adds -lnsl -lsocket to make the Nix package manager work on OpenSolaris
2009-10-08 14:50:37 +00:00
Peter Simons
18f0ff003d
configure.ac: use AC_SYS_LARGEFILE to determine how to enable 64-bit file size support
...
Defining -D_FILE_OFFSET_BITS=64 works on most platforms, but not on all (i.e.
Solaris). Also, the Autoconf macro offers the user a switch to disable the
functionality in case of problems.
2009-10-06 09:14:06 +00:00
Eelco Dolstra
51ad64cc07
* Use xmllint (>= 2.7.4) for RelaxNG validation instead of Jing.
2009-09-18 11:45:56 +00:00
Eelco Dolstra
6a5599fd01
* Typo.
2009-05-07 11:33:57 +00:00
Eelco Dolstra
9856efc7b0
* Support doing a fully static build. Statically linked Nix binaries
...
will be useful as a fallback on platforms for which there are no
RPMs/Debs available.
2009-03-26 12:22:08 +00:00
Eelco Dolstra
77d272623f
* NAR archives: handle files larger than 2^32 bytes. Previously it
...
would just silently store only (fileSize % 2^32) bytes.
* Use posix_fallocate if available when unpacking archives.
* Provide a better error message when trying to unpack something that
isn't a NAR archive.
2009-03-22 17:36:43 +00:00
Eelco Dolstra
be88248add
* Make the version available to release.nix.
2009-03-09 15:05:08 +00:00
Eelco Dolstra
c504d90c11
* Support i686-linux builds directly on x86_64-linux Nix
...
installations. This is implemented using the personality() syscall,
which causes uname to return "i686" in child processes.
2009-01-12 16:30:32 +00:00
Eelco Dolstra
ac36c6cd44
* Some hackery to make "make check" succeed on Cygwin.
2008-12-12 15:36:18 +00:00
Eelco Dolstra
2b70a8e7c9
* Detect whether unshare() is available.
2008-12-12 13:41:36 +00:00
Eelco Dolstra
7c54f1603f
* Do chroot builds in a private namespace. This means that all the
...
bind-mounts we do are only visible to the builder process and its
children. So accidentally doing "rm -rf" on the chroot directory
won't wipe out /nix/store and other bind-mounted directories
anymore. Also, the bind-mounts in the private namespace disappear
automatically when the builder exits.
2008-12-11 17:00:12 +00:00
Eelco Dolstra
5d4eb9dd07
* Moved the build farm job for building Nix to the Nix tree.
2008-11-26 01:13:29 +00:00
Eelco Dolstra
2ab09a55cf
* Bump the version number.
2008-11-20 21:51:58 +00:00
Eelco Dolstra
285d26374a
* Don't set the prefix to /nix by default, rather use the Autoconf
...
default of /usr/local. However, localstatedir and storedir are set
to /nix/var/nix and /nix/store respectively unless they're
explicitly overriden.
2008-11-20 14:14:35 +00:00
Eelco Dolstra
b0e92f6d47
* Merged the no-bdb branch (-r10900:HEAD
...
https://svn.nixos.org/repos/nix/nix/branches/no-bdb ).
2008-06-09 13:52:45 +00:00
Michael Raskin
b4bc8b7616
--proxy=proxy:3128
2008-05-07 14:18:28 +00:00
Eelco Dolstra
658816ddc9
* Make really sure that we use bash. The line
...
NEED_PROG(shell, bash)
actually uses the content of $shell if set, which often points at
/bin/sh.
2008-04-10 09:54:23 +00:00
Eelco Dolstra
895c953817
* Bumped the version number to 0.12.
2007-12-31 17:53:59 +00:00
Eelco Dolstra
df303666bc
* Use strsignal if available to give better error messages for
...
builders that fail due to a signal.
2007-12-14 14:49:35 +00:00
Eelco Dolstra
5f8a203b55
* A rule to make a PDF version of the manual.
2007-11-01 14:42:44 +00:00
Eelco Dolstra
0b95603595
* Depend on bash instead of sh (since we use a few bashisms).
2007-10-29 10:46:45 +00:00
Eelco Dolstra
42d80d1170
* On FreeBSD, sys/mount.h needs sys/param.h.
2007-10-29 10:03:07 +00:00
Eelco Dolstra
d91cd30563
* Detect whether chroot / bind-mount support is available.
2007-10-27 16:51:55 +00:00
Eelco Dolstra
93aefd9fc0
* Give unpacked channels more sensible names than 0, 1, ... They now
...
get the basename of the channel URL (e.g., nixpkgs-unstable). The
top-level Nix expression of the channel is now an attribute set, the
attributes of which are the individual channels (e.g.,
{nixpkgs_unstable = ...; strategoxt_unstable = ...}). This makes
attribute paths ("nix-env -qaA" and "nix-env -iA") more sensible,
e.g., "nix-env -iA nixpkgs_unstable.subversion".
2007-05-01 23:16:38 +00:00
Eelco Dolstra
2716f9bc5f
* It seems that svnversion prints a carriage return on Cygwin, so we
...
get a invalid #define VERSION. Use "svnversion -n" to leave out the
newline. Fix provided by Marc Weber.
2007-04-16 12:00:13 +00:00
Eelco Dolstra
db1973d012
* Look for the openssl program at compile time. If not found, call
...
openssl through $PATH at runtime.
2007-03-01 13:30:46 +00:00
Eelco Dolstra
d03f0d4117
* Check for lchown.
2006-12-07 18:51:11 +00:00
Eelco Dolstra
9f0efa6611
* Start of the setuid helper (the program that performs the operations
...
that have to be done as root: running builders under different uids,
changing ownership of build results, and deleting paths in the store
with the wrong ownership).
2006-12-06 01:24:02 +00:00
Eelco Dolstra
84d6459bd5
* Use setreuid if setresuid is not available.
2006-12-03 14:32:22 +00:00
Eelco Dolstra
40b3f64b55
* Skeleton of the privileged worker program.
...
* Some refactoring: put the NAR archive integer/string serialisation
code in a separate file so it can be reused by the worker protocol
implementation.
2006-11-30 19:19:59 +00:00
Eelco Dolstra
71e867c5f5
* Remove --enable-setuid, --with-nix-user and --with-nix-group.
...
Rather, setuid support is now always compiled in (at least on
platforms that have the setresuid system call, e.g., Linux and
FreeBSD), but it must enabled by chowning/chmodding the Nix
binaries.
2006-11-29 21:06:58 +00:00
Eelco Dolstra
e790404318
* Don't use the result of `uname -p' on x86_64 as it gives wacky
...
results on some machines. (NIX-69)
2006-11-13 14:54:18 +00:00
Eelco Dolstra
1d694eef4c
* Require Perl 5.8.0 or newer. I mean, it *is* more than four years
...
old...
2006-10-19 19:20:18 +00:00
Eelco Dolstra
7bada48b36
* Bumped the version number to 0.11.
2006-10-06 13:45:29 +00:00
Eelco Dolstra
4cab35d1a6
* Build with -D_FILE_OFFSET_BITS=64 to support files >= 2^31 bytes
...
(NIX-22).
2006-09-22 11:13:12 +00:00
Eelco Dolstra
22d13d6ec2
* Check for patch (NIX-59).
2006-09-20 15:28:47 +00:00
Eelco Dolstra
aab8812732
* Store the Nix libraries in ${libdir}/nix instead of ${libdir}.
2006-09-04 15:12:24 +00:00
Eelco Dolstra
e5678b3435
* Map "ppc" to "powerpc" so that Linux on PowerPC will be reported as
...
"powerpc-linux".
2006-08-25 16:23:42 +00:00
Eelco Dolstra
1a9a1f2768
* Convert to DocBook 5.
...
* Use Jing for RelaxNG validation, xmllint seems buggy.
2006-08-21 16:05:11 +00:00
Eelco Dolstra
2d456fc35a
* On Cygwin, set the system type to i686-cygwin, and disable dynamic
...
linking.
2006-05-31 11:50:14 +00:00
Eelco Dolstra
03162f8f47
* Unless --with-bzip2 is specified, use a copy of bzip2 in the
...
externals directory. This is in particular useful because though
most systems have bzip2/bunzip2, they don't always have libbz2,
which we need for bsdiff/bspatch.
2006-04-25 10:45:53 +00:00
Eelco Dolstra
a4c63c6e8e
* Make it easy to run individual tests from the command line.
2006-03-01 12:15:33 +00:00
Eelco Dolstra
ddb78dfc3d
* Check whether "nix-store -q --graph" generates a valid dot graph.
...
* Test "nix-store -q --tree" as well.
2006-02-22 13:55:41 +00:00
Eelco Dolstra
d6f586d0ea
* Optional switch "--with-openssl=<PATH>" to use OpenSSL's
...
implementations of MD5, SHA-1 and SHA-256. The main benefit is that
we get assembler-optimised implementations of MD5 and SHA-1 (though
not SHA-256 (at least on x86), unfortunately). OpenSSL's SHA-1
implementation on Intel is twice as fast as ours.
2006-02-13 19:52:43 +00:00
Eelco Dolstra
8291f6d968
* bsdiff updated to 4.3. This makes Nix depend on libbz2.
2006-02-01 16:48:49 +00:00
Eelco Dolstra
0e38578433
* log2xml -> nix-log2xml.
2005-10-05 09:42:13 +00:00
Eelco Dolstra
89cd0f57b1
* Use -all_load on Mac OS X.
2005-09-21 11:12:43 +00:00