about summary refs log tree commit diff
path: root/Makefile (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-03-31 Merge branch 'remove-perl' of https://github.com/shlevy/nixEelco Dolstra1-1/+0
2017-02-08 Include config.h implicitly with '-include config.h' in CFLAGSTuomas Tynkkynen1-1/+1
Because config.h can #define things like _FILE_OFFSET_BITS=64 and not every compilation unit includes config.h, we currently compile half of Nix with _FILE_OFFSET_BITS=64 and other half with _FILE_OFFSET_BITS unset. This causes major havoc with the Settings class on e.g. 32-bit ARM, where different compilation units disagree with the struct layout. E.g.: diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc @@ -166,6 +166,8 @@ void Settings::update() _get(useSubstitutes, "build-use-substitutes"); + fprintf(stderr, "at Settings::update(): &useSubstitutes = %p\n", &nix::settings.useSubstitutes); _get(buildUsersGroup, "build-users-group"); diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -138,6 +138,8 @@ void RemoteStore::initConnection(Connection & conn) void RemoteStore::setOptions(Connection & conn) { + fprintf(stderr, "at RemoteStore::setOptions(): &useSubstitutes = %p\n", &nix::settings.useSubstitutes); conn.to << wopSetOptions Gave me: at Settings::update(): &useSubstitutes = 0xb6e5c5cb at RemoteStore::setOptions(): &useSubstitutes = 0xb6e5c5c7 That was not a fun one to debug!
2017-02-07 Remove perl dependency.Shea Levy1-1/+0
Fixes #341
2017-02-07 Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nixEelco Dolstra1-0/+1
2017-02-07 Remove download-via-sshEelco Dolstra1-1/+0
Replaced by SSHStore.
2017-01-20 nix-copy-closure: Implement in C++.Shea Levy1-0/+1
Tests fail currently because the database is not given proper hashes in the VM
2017-01-19 Merge pull request #981 from shlevy/build-remote-c++Eelco Dolstra1-0/+1
build-remote: Implement in C++
2017-01-16 AutoDeleteArray -> std::unique_ptrEelco Dolstra1-1/+1
Also, switch to C++14 for std::make_unique.
2016-11-10 build-remote: Implement in C++Shea Levy1-0/+1
2016-08-31 Merge branch 'nix-build-c++'Shea Levy1-0/+1
2016-08-31 Merge branch 'nix-channel-c++'Shea Levy1-0/+1
2016-08-13 resolve-system-dependencies: implement in C++Jude Taylor1-0/+1
2016-08-11 nix-channel: implement in c++Shea Levy1-0/+1
2016-08-11 buildenv: perl -> c++Shea Levy1-0/+1
2016-08-09 nix-build: Port to c++Shea Levy1-0/+1
This was a dumb line-for-line rewrite, because nix build/nix run/etc. will replace it.
2016-06-01 Make the store directory a member variable of StoreEelco Dolstra1-1/+1
2016-05-04 Make the aws-cpp-sdk dependency optionalEelco Dolstra1-1/+1
2016-04-25 Remove nix-log2xmlEelco Dolstra1-1/+0
2016-04-11 Remove manifest supportEelco Dolstra1-1/+0
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra1-1/+1
2015-10-01 nix-prefetch-url: Rewrite in C++Eelco Dolstra1-0/+1
2015-04-22 nix-collect-garbage: translate to C++Luca Bruno1-0/+1
2015-02-17 Include NAR size in fingerprint computationEelco Dolstra1-1/+1
This is not strictly needed for integrity (since we already include the NAR hash in the fingerprint) but it helps against endless data attacks [1]. (However, this will also require download-from-binary-cache.pl to bail out if it receives more than the specified number of bytes.) [1] https://isis.poly.edu/~jcappos/papers/cappos_mirror_ccs_08.pdf
2014-11-04 Add a launchd configuration file to run nix-daemonEelco Dolstra1-0/+1
2014-10-20 Revert "Drop support for pre-c++11 compilers."Shea Levy1-1/+1
The breakage this fixed can be worked around without removing support. This reverts commit 84a13dc576496f1227665259c61f86184f452f51.
2014-10-18 Drop support for pre-c++11 compilers.Shea Levy1-1/+1
In particular, gcc 4.6's std::exception::~exception has an exception specification in c++0x mode, which requires us to use that deprecated feature in nix (and led to breakage after some recent changes that were valid c++11). nix already uses several c++11 features and gcc 4.7 has been around for over 2 years.
2014-09-17 Add Make flag to disable optimizationEelco Dolstra1-1/+8
2014-05-02 Install an Upstart serviceEelco Dolstra1-0/+1
2014-04-07 Install systemd unitsEelco Dolstra1-0/+1
2014-03-30 boost::shared_ptr -> std::shared_ptrEelco Dolstra1-0/+2
2014-02-08 Add download-via-ssh substituterShea Levy1-0/+1
This substituter connects to a remote host, runs nix-store --serve there, and then forwards substituter commands on to the remote host and sends their results to the calling program. The ssh-substituter-hosts option can be specified as a list of hosts to try. This is an initial implementation and, while it works, it has some limitations: * Only the first host is used * There is no caching of query results (all queries are sent to the remote machine) * There is no informative output (such as progress bars) * Some failure modes may cause unhelpful error messages * There is no concept of trusted-ssh-substituter-hosts Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-01 Fix "make dist"Eelco Dolstra1-2/+1
2014-02-01 Update Makefile variable namesEelco Dolstra1-1/+1
2014-02-01 Build/install manualEelco Dolstra1-1/+3
2014-01-30 Rename Makefile -> local.mkEelco Dolstra1-16/+16
2014-01-09 Update MakefilesEelco Dolstra1-1/+3
2013-11-25 Add support for ‘make installcheck’Eelco Dolstra1-1/+2
2013-11-25 Add a Makefile for the Perl stuffEelco Dolstra1-0/+1
2013-11-25 Rename Makefile.new -> MakefileEelco Dolstra1-0/+19