Skip to content
Snippets Groups Projects
  1. Jun 01, 2015
  2. May 19, 2015
  3. 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
  4. 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
  5. Mar 06, 2015
  6. 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
  7. Feb 22, 2015
  8. Feb 19, 2015
  9. Feb 17, 2015
  10. Feb 04, 2015
  11. Jan 12, 2015
  12. 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
  13. Jan 06, 2015
  14. 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
  15. Jan 02, 2015
  16. Dec 16, 2014
  17. Dec 14, 2014
  18. Dec 13, 2014
  19. Dec 11, 2014
Loading