aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-20Fix build on gcc < 4.7Shea Levy
2014-10-20Revert "Drop support for pre-c++11 compilers."Shea Levy
The breakage this fixed can be worked around without removing support. This reverts commit 84a13dc576496f1227665259c61f86184f452f51.
2014-10-20Improve printing of ASTsEelco Dolstra
2014-10-18Drop support for pre-c++11 compilers.Shea Levy
In particular, gcc 4.6's std::exception::~exception has an exception specification in c++0x mode, which requires us to use that deprecated feature in nix (and led to breakage after some recent changes that were valid c++11). nix already uses several c++11 features and gcc 4.7 has been around for over 2 years.
2014-10-17Export realiseContext in libnixexprShea Levy
Useful for importNative plugins
2014-10-15Fix nix-copy-closure --fromShea Levy
http://hydra.nixos.org/build/15885652
2014-10-15Revert "binary download: Use $NIX_CURL_FLAGS"Eelco Dolstra
This reverts commit bc4795919afac59af8f27d3c1f26ab404330f718. It breaks the build: http://hydra.nixos.org/build/15860847
2014-10-14Merge pull request #372 from wmertens/patch-4Eelco Dolstra
binary download: Use $NIX_CURL_FLAGS
2014-10-14binary download: Use $NIX_CURL_FLAGSwmertens
As in https://github.com/NixOS/nixpkgs/blob/5c0816567d6b99bd2ef7c8ae5744f80a6a0372c4/pkgs/build-support/fetchurl/builder.sh#L17
2014-10-14nix-store -q: Check for conflicting flagsEelco Dolstra
Fixes #364.
2014-10-14nix-channel: Add --rollback flagEelco Dolstra
Fixes #368.
2014-10-14Remove redundant space in usage errorsEelco Dolstra
2014-10-14nix-channel --add: Validate URL / channel IDEelco Dolstra
Fixes #369.
2014-10-14Remove unused @sshOpts flagEelco Dolstra
Closes #300.
2014-10-14nix-copy-closure: Use strictEelco Dolstra
2014-10-14Improved error message when encountering unsupported file typesEelco Dolstra
Fixes #269.
2014-10-09mkList: Scrub betterEelco Dolstra
Clearing v.app.right was not enough, because the length field of a list only takes 32 bits, so the most significant 32 bits of v.app.left (a.k.a. v.thunk.env) would remain. This could cause Boehm GC to interpret it as a valid pointer. This change reduces maximum RSS for evaluating the ‘tested’ job in nixos/release-small.nix from 1.33 GiB to 0.80 GiB, and runtime by about 8%.
2014-10-09TypoEelco Dolstra
2014-10-05Get rid of some unnecessary ExprConcatStrings nodes in dynamic attrsEelco Dolstra
This gives a ~18% speedup in NixOS evaluation (after converting most calls to hasAttr/getAttr to dynamic attrs).
2014-10-05Show total allocationsEelco Dolstra
2014-10-04Add primop ‘catAttrs’Eelco Dolstra
2014-10-04Add primop ‘attrValues’Eelco Dolstra
2014-10-04TweakEelco Dolstra
2014-10-03Remove some duplicate codeEelco Dolstra
2014-10-03Add readDir primopShea Levy
2014-10-03Add test for readDir primopShea Levy
2014-10-03Don't recompile the same regex over and overEelco Dolstra
2014-10-03nix-env: Add regular expression support in selectorsEelco Dolstra
So you can now do things like: $ nix-env -qa '.*zip.*' $ nix-env -qa '.*(firefox|chromium).*'
2014-10-03createDirs(): Handle ‘path’ being a symlinkEelco Dolstra
In particular, this fixes "nix-build -o /tmp/result" on Mac OS X (where /tmp is a symlink).
2014-10-01printValue(): Don't print <CYCLE> for repeated valuesEelco Dolstra
2014-09-30Support control characters in JSON outputEelco Dolstra
2014-09-26printMissing(): Print derivations in approximate build orderEelco Dolstra
2014-09-25nix-daemon: Close unnecessary fdEelco Dolstra
2014-09-24Bindings: Remove copy constructorEelco Dolstra
2014-09-24Remove bash requirementwmertens
As per https://github.com/NixOS/nixos-homepage/pull/16
2014-09-23Fix use of PAGER during testsEelco Dolstra
2014-09-23Updated documentation for nix-install-package to mention --set flagShell Turner
2014-09-23Add --force-name support for --set in nix-env, to support ↵Shell Turner
nix-install-package --set
2014-09-23Pass through --set from nix-install-package command line to nix-envShell Turner
2014-09-23add manpage for nix-generate-patchesdarealshinji
2014-09-23manual: add a note that lists are strict in lengthVladimír Čunát
Close #345.
2014-09-23Add missing staticEelco Dolstra
2014-09-23Remove release notes Hydra productEelco Dolstra
2014-09-22Don't evaluate inside a "throw"Eelco Dolstra
Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41174. This caused hydra-eval-jobs to ignore SIGINT.
2014-09-22Add ‘deepSeq’ primopEelco Dolstra
Note that unlike ‘lib.deepSeq’ in Nixpkgs, this handles cycles.
2014-09-22Make forceValueDeep work on values with cyclesEelco Dolstra
2014-09-22Rename strictForceValue -> forceValueDeepEelco Dolstra
2014-09-22Handle cycles when printing a valueEelco Dolstra
So this no longer crashes with a stack overflow: nix-instantiate -E --eval 'let as = { x = as; }; in as' Instead it prints: { x = { x = <CYCLE>; }; }
2014-09-22Add ‘seq’ primopEelco Dolstra
2014-09-22Add a function ‘valueSize’Eelco Dolstra
It returns the size of value, including all other values and environments reachable from it. It is intended for debugging memory consumption issues.