Skip to content
Snippets Groups Projects
  1. Nov 10, 2015
    • Vladimír Čunát's avatar
      rename `chroot` to `sandbox` (fixes #656, close #682) · b39622a4
      Vladimír Čunát authored
      - rename options but leav old names as lower-priority aliases,
        also "-dirs" -> "-paths" to get closer to the meaning
      - update docs to reflect the new names (old aliases are not documented),
        including a new file with release notes
      - tests need an update after corresponding changes to nixpkgs
      - __noChroot is left as it is (after discussion on the PR)
      b39622a4
  2. Sep 17, 2015
  3. Sep 03, 2015
  4. Sep 01, 2015
  5. Aug 05, 2015
  6. Jul 28, 2015
    • Eelco Dolstra's avatar
      Add sort primop · 76cc8e97
      Eelco Dolstra authored
      76cc8e97
    • Eelco Dolstra's avatar
      Add primop genList · 50807f3d
      Eelco Dolstra authored
      This can be used to implement functions like ‘imap’ (or for that
      matter, ‘map’) without the quadratic complexity incurred by calling
      ‘++’ repeatedly.
      50807f3d
  7. Jul 24, 2015
  8. Jul 23, 2015
  9. Jul 19, 2015
  10. Jun 12, 2015
  11. Jun 11, 2015
  12. Jun 08, 2015
  13. Jun 01, 2015
  14. May 19, 2015
  15. Apr 18, 2015
    • Shea Levy's avatar
      Add the pre-build hook. · 4d652875
      Shea Levy authored
      This hook can be used to set system-specific per-derivation build
      settings that don't fit into the derivation model and are too complex or
      volatile to be hard-coded into nix. Currently, the pre-build hook can
      only add chroot dirs/files through the interface, but it also has full
      access to the chroot root.
      
      The specific use case for this is systems where the operating system ABI
      is more complex than just the kernel-support system calls. For example,
      on OS X there is a set of system-provided frameworks that can reliably
      be accessed by any program linked to them, no matter the version the
      program is running on. Unfortunately, those frameworks do not
      necessarily live in the same locations on each version of OS X, nor do
      their dependencies, and thus nix needs to know the specific version of
      OS X currently running in order to make those frameworks available. The
      pre-build hook is a perfect mechanism for doing just that.
      4d652875
    • Shea Levy's avatar
      Revert "Add the pre-build hook." · fd6774e2
      Shea Levy authored
      Going to reimplement differently.
      
      This reverts commit 1e4a4a2e.
      fd6774e2
  16. Apr 12, 2015
    • Shea Levy's avatar
      Add the pre-build hook. · 1e4a4a2e
      Shea Levy authored
      This hook can be used to set system specific per-derivation build
      settings that don't fit into the derivation model and are too complex or
      volatile to be hard-coded into nix. Currently, the pre-build hook can
      only add chroot dirs/files.
      
      The specific use case for this is systems where the operating system ABI
      is more complex than just the kernel-supported system calls. For
      example, on OS X there is a set of system-provided frameworks that can
      reliably be accessed by any program linked to them, no matter the
      version the program is running on. Unfortunately, those frameworks do
      not necessarily live in the same locations on each version of OS X, nor
      do their dependencies, and thus nix needs to know the specific version
      of OS X currently running in order to make those frameworks available.
      The pre-build hook is a perfect mechanism for doing just that.
      1e4a4a2e
  17. Mar 06, 2015
  18. Feb 23, 2015
    • Eelco Dolstra's avatar
      Typo · cffa7f80
      Eelco Dolstra authored
      cffa7f80
    • Eelco Dolstra's avatar
      Use chroots for all derivations · 99897f69
      Eelco Dolstra authored
      If ‘build-use-chroot’ is set to ‘true’, fixed-output derivations are
      now also chrooted. However, unlike normal derivations, they don't get
      a private network namespace, so they can still access the
      network. Also, the use of the ‘__noChroot’ derivation attribute is
      no longer allowed.
      
      Setting ‘build-use-chroot’ to ‘relaxed’ gives the old behaviour.
      99897f69
    • Eelco Dolstra's avatar
      Add restricted evaluation mode · 15d2d3c3
      Eelco Dolstra authored
      If ‘--option restrict-eval true’ is given, the evaluator will throw an
      exception if an attempt is made to access any file outside of the Nix
      search path. This is primarily intended for Hydra, where we don't want
      people doing ‘builtins.readFile ~/.ssh/id_dsa’ or stuff like that.
      15d2d3c3
  19. Feb 22, 2015
  20. Feb 19, 2015
  21. Feb 17, 2015
  22. Feb 04, 2015
  23. Jan 12, 2015
  24. Jan 08, 2015
    • Данило Глинський (Danylo Hlynskyi)'s avatar
      Fix typo (assuming this is a typo) · ed56ea98
      Fix typo (assuming this is a typo)
      `allowedRequisites` mentions `allowedReferences` in code example
      ed56ea98
    • Eelco Dolstra's avatar
      nix-shell: Add --run flag · 128538ef
      Eelco Dolstra authored
      ‘--run’ is like ‘--command’, except that it runs the command in a
      non-interactive shell. This is important if you do things like:
      
        $ nix-shell --command make
      
      Hitting Ctrl-C while make is running drops you into the interactive
      Nix shell, which is probably not what you want. So you can now do
      
        $ nix-shell --run make
      
      instead.
      128538ef
  25. Jan 06, 2015
  26. Jan 05, 2015
    • j-keck's avatar
      doc: remove wrong phrase. · 14fb7378
      j-keck authored
      '... another level of indirection not shown in the figure above ...'
      but in the 'user-environments.png' figure there is '~/.nix-profile'.
      the figure was updated with the commit: f982df3c on Mar 16, 2005.
      14fb7378
    • j-keck's avatar
      doc: remove double word · 2c052278
      j-keck authored
        '... when when ...' -> '... when ...'
      2c052278
Loading