Skip to content
Snippets Groups Projects
  1. Apr 19, 2017
  2. Apr 17, 2017
  3. Apr 13, 2017
  4. Apr 12, 2017
  5. Mar 21, 2017
  6. Mar 15, 2017
    • Eelco Dolstra's avatar
      Store: Add a method for getting build logs · 0afeb7f5
      Eelco Dolstra authored
      This allows various Store implementations to provide different ways to
      get build logs. For example, BinaryCacheStore can get the build logs
      from the binary cache.
      
      Also, remove the log-servers option since we can use substituters for
      this.
      0afeb7f5
  7. Mar 09, 2017
  8. Mar 08, 2017
  9. Feb 28, 2017
    • Eelco Dolstra's avatar
      Support auto-configuration of build-max-jobs · 7251d048
      Eelco Dolstra authored
      "build-max-jobs" and the "-j" option can now be set to "auto" to use
      the number of CPUs in the system. (Unlike build-cores, it doesn't use
      0 to imply auto-configuration, because a) magic values are a bad idea
      in general; b) 0 is a legitimate value used to disable local
      building.)
      
      Fixes #1198.
      7251d048
  10. Feb 27, 2017
  11. Feb 21, 2017
  12. Feb 20, 2017
  13. Feb 16, 2017
  14. Feb 07, 2017
  15. Feb 02, 2017
  16. Jan 03, 2017
  17. Dec 28, 2016
  18. Dec 16, 2016
  19. Dec 11, 2016
  20. Dec 09, 2016
  21. Dec 06, 2016
  22. Nov 03, 2016
    • Manav Rathi's avatar
      installation: allow profile modification to be skipped (#1072) · eec5409a
      Manav Rathi authored
      The current behaviour modifies the first writeable file from amongst
      .bash_profile, .bash_login and .profile.  So .bash_profile (if it is
      writable) would be modified even if a user has already sourced nix.sh
      in, say, .profile.
      
      This commit introduces a new environment variable,
      NIX_INSTALLER_NO_MODIFY_PROFILE.  If this is set during installation,
      then the modifications are unconditionally skipped.
      
      This is useful for users who have a manually curated set of dotfiles
      that they are porting to a new machine. In such scenarios, nix.sh is
      already sourced at a place where the user prefers.  Without this
      change, the nix installer would insist on modifying .bash_profile if
      it exists.
      
      This commit also add documentations for both the current behaviour and
      the new override.
      eec5409a
  23. Oct 31, 2016
    • Eelco Dolstra's avatar
      Support optional sandbox paths · 18b7363a
      Eelco Dolstra authored
      For example, you can now set
      
        build-sandbox-paths = /dev/nvidiactl?
      
      to specify that /dev/nvidiactl should only be mounted in the sandbox
      if it exists in the host filesystem. This is useful e.g. for EC2
      images that should support both CUDA and non-CUDA instances.
      18b7363a
  24. Sep 21, 2016
  25. Sep 20, 2016
  26. Sep 14, 2016
    • Eelco Dolstra's avatar
      Revive binary-caches-parallel-connections · 6656ef7b
      Eelco Dolstra authored
      It's a slight misnomer now because it actually limits *all* downloads,
      not just binary cache lookups.
      
      Also add a "enable-http2" option to allow disabling use of HTTP/2
      (enabled by default).
      6656ef7b
  27. Aug 26, 2016
  28. Aug 11, 2016
  29. Aug 10, 2016
  30. Jul 21, 2016
    • Eelco Dolstra's avatar
      Grammar/spelling · 77c2739c
      Eelco Dolstra authored
      77c2739c
    • Matthias Beyer's avatar
      NIX_REMOTE_SYSTEMS path must be absolute (#957) · 2ec9d2fb
      Matthias Beyer authored
      Once upon a time, I wrote my bachelors thesis about functional
      deployment mechanisms.
      
      I had to evaluate several szenarios where package management and
      deployment were relevant. One szenario was to do distributed builds
      over several machines.
      
      I told myself: Weee, nix can do this! And with nix, this is actually
      save, as you do not have side effects when building!
      
      So I started. I use a cloud to set up four virtual machines where I
      wanted to do the build. A fifth machine was used as master to distribute
      the builds. All was good.
      
      I created the necessary SSH keys, made sure every machine was reachable
      by the master and configured the build in my remotes.conf.
      
      When I started to try to build weechat from source, the build failed. It
      failed, telling me
      
          error: unable to start any build; either increase ‘--max-jobs’ or enable distributed builds
      
      And I started to dig around. I digged long and good. But I wasn't able
      to find the issue.
      
      I double and triple checked my environment variables, my settings, the
      SSH key and everything.
      
      I reached out to fellow Nixers by asking on the nixos IRC channel. And I
      got help. But we weren't able to find the issue, either.
      
      So I became frustrated. I re-did all the environment variables.
      
      And suddenly,... it worked! What did I change? Well... I made the
      environment variables which contained pathes contain absolute pathes
      rather than relatives.
      
      And because I like to share my knowledge, this should be put into the
      documentation, so others do not bang their heads against the wall
      because something is not documented somewhere.
      2ec9d2fb
  31. Jul 20, 2016
  32. Jul 04, 2016
    • aszlig's avatar
      Don't hardcode docbook XSL namespace URL · 72fb2ccf
      aszlig authored
      
      Docbook XSL got updated to version 1.79.1 in NixOS/nixpkgs@fb893a8 and
      we're still referring to the hardcoded previous version.
      
      So instead of just updating this to 1.79.1 we're going to use "current"
      in the hope that this won't happen again.
      
      I have tested this by building the manual under Nix(OS) but I haven't
      tested this in a non-Nix environment, so I'm not sure whether this could
      have implications.
      
      Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
      Cc: @edolstra
      72fb2ccf
  33. Jun 20, 2016
Loading