Skip to content
Snippets Groups Projects
  1. Oct 26, 2018
  2. Mar 20, 2018
  3. Mar 14, 2018
  4. Feb 08, 2018
  5. Aug 20, 2017
    • Matthew Bauer's avatar
      Remove nix-mode.el from Nix. · 2c75945d
      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.
      Unverified
      2c75945d
  6. Feb 08, 2017
    • Tuomas Tynkkynen's avatar
      Include config.h implicitly with '-include config.h' in CFLAGS · 2cd46887
      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!
      2cd46887
  7. Feb 07, 2017
  8. Jan 20, 2017
  9. Jan 16, 2017
  10. Nov 10, 2016
  11. Aug 13, 2016
  12. Aug 11, 2016
  13. Aug 09, 2016
    • Shea Levy's avatar
      nix-build: Port to c++ · 80ebc553
      Shea Levy authored
      This was a dumb line-for-line rewrite, because nix build/nix run/etc.
      will replace it.
      80ebc553
  14. Jun 01, 2016
  15. May 04, 2016
  16. Apr 25, 2016
  17. Apr 11, 2016
    • Eelco Dolstra's avatar
      Remove manifest support · 86796726
      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.
      86796726
  18. Feb 09, 2016
  19. Oct 01, 2015
  20. Apr 22, 2015
  21. Feb 17, 2015
  22. Nov 04, 2014
  23. Oct 20, 2014
  24. Oct 19, 2014
    • Shea Levy's avatar
      Drop support for pre-c++11 compilers. · 84a13dc5
      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.
      84a13dc5
  25. Sep 17, 2014
  26. May 02, 2014
  27. Apr 07, 2014
  28. Mar 29, 2014
  29. Feb 08, 2014
    • Shea Levy's avatar
      Add download-via-ssh substituter · 64e23d0a
      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: default avatarShea Levy <shea@shealevy.com>
      64e23d0a
  30. Feb 01, 2014
  31. Jan 30, 2014
  32. Jan 09, 2014
  33. Nov 25, 2013
Loading