- Mar 30, 2020
-
-
Eelco Dolstra authored
-
- Nov 26, 2019
-
-
Eelco Dolstra authored
-
- Nov 07, 2019
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This reverts commit 717e821b. It's much more convenient to do 'make OPTIMIZE=0'.
-
Eelco Dolstra authored
This cuts 'make install -j6' on my laptop from 170s to 134s.
-
- Jul 03, 2019
-
-
Niklas Hambüchen authored
As is normal for autoconf-based projects. For example, it is a common use case to do ./configure CXXFLAGS=-O0 This did not work for nix until now, because the `CXXFLAGS=` declaration would unconditionally erase what the user had specified. The custom `OPTIMIZE` flag is removed, but the default `-O3` is retained; autoconf would default to `-g -O2` by default otherwise as documented on: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C_002b_002b-Compiler.html
-
- Oct 26, 2018
-
-
Eelco Dolstra authored
These are all symlinks to 'nix' now, reducing the installed size by about ~1.7 MiB.
-
- Mar 20, 2018
-
-
Will Dietz authored
-
Eelco Dolstra authored
This avoids sandbox annoyances.
-
- Mar 14, 2018
-
-
Eelco Dolstra authored
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03.
-
- Feb 08, 2018
-
-
Shea Levy authored
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports.
-
- Aug 20, 2017
-
-
Matthew Bauer authored
This removes the file nix-mode.el from Nix. The file is now available within the repository https://github.com/NixOS/nix-mode. Fixes #662 Fixes #1040 Fixes #1054 Fixes #1055 Closes #1119 Fixes #1419 NOTE: all of the above should be fixed within NixOS/nix-mode. If one of those hasn’t please reopen within NixOS/nix-mode and not within NixOS/nix.
-
- Feb 08, 2017
-
-
Tuomas Tynkkynen authored
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!
-
- Feb 07, 2017
-
-
Shea Levy authored
Fixes #341
-
Eelco Dolstra authored
Replaced by SSHStore.
-
- Jan 20, 2017
-
-
Shea Levy authored
Tests fail currently because the database is not given proper hashes in the VM
-
- Jan 16, 2017
-
-
Eelco Dolstra authored
Also, switch to C++14 for std::make_unique.
-
- Nov 10, 2016
-
-
Shea Levy authored
-
- Aug 13, 2016
-
-
Jude Taylor authored
-
- Aug 11, 2016
- Aug 09, 2016
-
-
Shea Levy authored
This was a dumb line-for-line rewrite, because nix build/nix run/etc. will replace it.
-
- Jun 01, 2016
-
-
Eelco Dolstra authored
-
- May 04, 2016
-
-
Eelco Dolstra authored
-
- Apr 25, 2016
-
-
Eelco Dolstra authored
-
- Apr 11, 2016
-
-
Eelco Dolstra authored
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
-
- Feb 09, 2016
-
-
Eelco Dolstra authored
-
- Oct 01, 2015
-
-
Eelco Dolstra authored
-
- Apr 22, 2015
-
-
Luca Bruno authored
-
- Feb 17, 2015
-
-
Eelco Dolstra authored
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
-
- Nov 04, 2014
-
-
Eelco Dolstra authored
-
- Oct 20, 2014
-
- Oct 19, 2014
-
-
Shea Levy authored
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.
-
- Sep 17, 2014
-
-
Eelco Dolstra authored
-
- May 02, 2014
-
-
Eelco Dolstra authored
-
- Apr 07, 2014
-
-
Eelco Dolstra authored
-
- Mar 29, 2014
-
-
Eelco Dolstra authored
-
- Feb 08, 2014
-
-
Shea Levy authored
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>
-
- Feb 01, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-