Skip to content
Snippets Groups Projects
  1. Nov 25, 2016
  2. Nov 21, 2016
  3. Nov 17, 2016
  4. Nov 16, 2016
  5. Nov 14, 2016
  6. Nov 13, 2016
    • Guillaume Maudoux's avatar
      Fix comments parsing · a5e761dd
      Guillaume Maudoux authored
      Fixed the parsing of multiline strings ending with an even number of
      stars, like /** this **/.
      Added test cases for comments.
      a5e761dd
  7. Nov 10, 2016
  8. Nov 09, 2016
  9. Nov 08, 2016
  10. Nov 07, 2016
  11. 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
  12. 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
  13. Oct 27, 2016
  14. Oct 26, 2016
  15. Oct 21, 2016
    • Eelco Dolstra's avatar
      Remove addPathToAccessor · fdbbcc44
      Eelco Dolstra authored
      fdbbcc44
    • Eelco Dolstra's avatar
      BinaryCacheStore: Optionally write a NAR listing · 542ae5c8
      Eelco Dolstra authored
      The store parameter "write-nar-listing=1" will cause BinaryCacheStore
      to write a file ‘<store-hash>.ls.xz’ for each ‘<store-hash>.narinfo’
      added to the binary cache. This file contains an XZ-compressed JSON
      file describing the contents of the NAR, excluding the contents of
      regular files.
      
      E.g.
      
        {
          "version": 1,
          "root": {
            "type": "directory",
            "entries": {
              "lib": {
                "type": "directory",
                "entries": {
                  "Mcrt1.o": {
                    "type": "regular",
                    "size": 1288
                  },
                  "Scrt1.o": {
                    "type": "regular",
                    "size": 3920
                  },
                }
              }
            }
            ...
          }
        }
      
      (The actual file has no indentation.)
      
      This is intended to speed up the NixOS channels programs index
      generator [1], since fetching gazillions of large NARs from
      cache.nixos.org is currently a bottleneck for updating the regular
      (non-small) channel.
      
      [1] https://github.com/NixOS/nixos-channel-scripts/blob/master/generate-programs-index.cc
      542ae5c8
  16. Oct 19, 2016
  17. Oct 18, 2016
Loading