Peter Simons
af09fe12dd
Fix build of bsdiff-4.3 on machines that don't have <err.h>, such as Solaris.
2010-06-24 17:51:31 +00:00
Peter Simons
d63375d529
configure.ac: Incredibly enough, tr(1) on Solaris doesn't understand A-Z syntax for ranges.
2010-06-24 17:51:24 +00:00
Peter Simons
4c21c016c5
configure.ac: make flex and bison required programs
...
The build fails if these tools aren't available.
2010-06-24 17:51:19 +00:00
Eelco Dolstra
f3b8833a48
* Drop the dependency on the ATerm library.
2010-04-19 14:51:58 +00:00
Lluís Batlle i Rossell
13cce8ec45
Making 'bin2c' to be built with the compiler for the local system.
...
I copied the configure.ac code about CC_FOR_BUILD from libX11.
2010-03-11 20:56:25 +00:00
Eelco Dolstra
05fbf61f0e
* nix-prefetch-url depends on sed (see
...
http://hydra.nixos.org/build/311170 ).
2010-03-05 18:26:47 +00:00
Eelco Dolstra
84a4dd5ff0
* Don't use fdatasync since it doesn't work on Snow Leopard.
...
* Don't refer to config.h in util.hh, because config.h is not
installed (http://hydra.nixos.org/build/303053 ).
2010-02-24 15:46:06 +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