Skip to content
Snippets Groups Projects
  1. Jan 31, 2018
  2. Jan 27, 2018
  3. Jan 17, 2018
  4. Jan 09, 2018
  5. Jan 04, 2018
  6. Dec 11, 2017
  7. Dec 09, 2017
  8. Dec 08, 2017
  9. Nov 28, 2017
  10. Nov 21, 2017
  11. Nov 20, 2017
  12. Nov 03, 2017
  13. Nov 01, 2017
  14. Oct 30, 2017
  15. Oct 26, 2017
  16. Oct 23, 2017
  17. Oct 20, 2017
  18. Sep 18, 2017
  19. Sep 05, 2017
    • Eelco Dolstra's avatar
      Add automatic garbage collection · 0b606aad
      Eelco Dolstra authored
      Nix can now automatically run the garbage collector during builds or
      while adding paths to the store. The option "min-free = <bytes>"
      specifies that Nix should run the garbage collector whenever free
      space in the Nix store drops below <bytes>. It will then delete
      garbage until "max-free" bytes are available.
      
      Garbage collection during builds is asynchronous; running builds are
      not paused and new builds are not blocked. However, there also is a
      synchronous GC run prior to the first build/substitution.
      
      Currently, no old GC roots are deleted (as in "nix-collect-garbage
      -d").
      0b606aad
  20. Aug 31, 2017
    • Eelco Dolstra's avatar
      Rename a few configuration options · c2154d4c
      Eelco Dolstra authored
      In particular, drop the "build-" and "gc-" prefixes which are
      pointless. So now you can say
      
        nix build --no-sandbox
      
      instead of
      
        nix build --no-build-use-sandbox
      c2154d4c
  21. 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.
      2c75945d
  22. Aug 18, 2017
  23. Aug 16, 2017
  24. Aug 15, 2017
    • Nicolas B. Pierron's avatar
      Add builtins.string function. · b8867a02
      Nicolas B. Pierron authored
      The function 'builtins.split' takes a POSIX extended regular expression
      and an arbitrary string. It returns a list of non-matching substring
      interleaved by lists of matched groups of the regular expression.
      
      ```nix
      with builtins;
      assert split "(a)b" "abc"      == [ "" [ "a" ] "c" ];
      assert split "([ac])" "abc"    == [ "" [ "a" ] "b" [ "c" ] "" ];
      assert split "(a)|(c)" "abc"   == [ "" [ "a" null ] "b" [ null "c" ] "" ];
      assert split "([[:upper:]]+)" "  FOO   "
                                     == [ "  " [ "FOO" ] "   " ];
      ```
      b8867a02
    • Nicolas B. Pierron's avatar
  25. Aug 10, 2017
  26. Jul 30, 2017
  27. Jul 18, 2017
  28. Jul 17, 2017
  29. Jul 15, 2017
  30. Jul 10, 2017
Loading