Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-22 | remove more debug code | Ben Burdette | |
2021-10-22 | remove dead code | Ben Burdette | |
2021-10-22 | show expr on error | Ben Burdette | |
2021-10-11 | comment out debugs | Ben Burdette | |
2021-10-11 | print staticenv bindings | Ben Burdette | |
2021-10-11 | add nullable Expr argument | Ben Burdette | |
2021-10-02 | storing staticenv bindings | Ben Burdette | |
2021-09-23 | ok was unconditoinally throwing on any With var | Ben Burdette | |
2021-09-22 | staticenv should be With | Ben Burdette | |
2021-09-22 | more debug stuff | Ben Burdette | |
2021-09-17 | turn off the stack usage thing | Ben Burdette | |
2021-09-15 | add cout debugging | Ben Burdette | |
2021-09-14 | remove version.txt | Ben Burdette | |
2021-09-14 | remove docs accidentally added to version control | Ben Burdette | |
2021-09-14 | shared_ptr for StaticEnv | Ben Burdette | |
2021-09-13 | printEnvPosChain | Ben Burdette | |
2021-08-25 | remove more explicit valmap code | Ben Burdette | |
2021-08-25 | adding all the value names from env.values[0] | Ben Burdette | |
2021-08-24 | print env bindings | Ben Burdette | |
2021-08-18 | env to bindings | Ben Burdette | |
2021-08-18 | more error fixes | Ben Burdette | |
2021-08-18 | switch to fakeenvs | Ben Burdette | |
2021-08-17 | moving towards env in exceptions | Ben Burdette | |
2021-08-09 | trying env args; but unecessary? | Ben Burdette | |
2021-08-06 | move valmap to hh; add to env | Ben Burdette | |
2021-06-11 | hintfmt for eye searing varnames | Ben Burdette | |
2021-06-11 | mapEnvBindings | Ben Burdette | |
2021-06-09 | remove dead code | Ben Burdette | |
2021-06-08 | formatting; string arg for throwTypeError | Ben Burdette | |
2021-06-08 | line endings | Ben Burdette | |
2021-06-08 | highlight the extra vars | Ben Burdette | |
2021-06-08 | another throwTypeError form | Ben Burdette | |
2021-05-14 | showType(fun) | Ben Burdette | |
2021-05-14 | clean up w LocalNoInline macro | Ben Burdette | |
2021-05-14 | throwAssertionError, throwUndefinedError -> valmap-ized | Ben Burdette | |
2021-05-14 | throwEvalError form 4 | Ben Burdette | |
2021-05-14 | throwEvalError form 3 | Ben Burdette | |
2021-05-14 | throwEvalError form 2 | Ben Burdette | |
2021-05-13 | throwEvalError; mapBindings | Ben Burdette | |
2021-05-12 | plain env pointer | Ben Burdette | |
2021-05-12 | unique_ptr for valmap | Ben Burdette | |
2021-05-11 | map1/2 for stack usage | Ben Burdette | |
2021-05-10 | throwTypeError with debugger/env | Ben Burdette | |
2021-05-03 | debugger on autoCallFunction error | Ben Burdette | |
2021-04-28 | move repl.cc to libcmd for linkage | Ben Burdette | |
2021-04-28 | fixes | Ben Burdette | |
2021-04-27 | Merge branch 'master' into debugger-merge | Ben Burdette | |
2021-04-27 | Merge pull request #4751 from Ma27/storepath-pos | Domen Kožar | |
primops/storePath: add trace to pure mode error | |||
2021-04-27 | primops/storePath: add trace to pure mode error | Maximilian Bosch | |
As described in #4745 it's otherwise fairly hard to understand where this is coming from. Say you have an expression which uses e.g. `types.package`: ``` nix { outputs = { self, nixpkgs }: { packages.x86_64-linux.hello = let foo = nixpkgs.lib.evalModules { modules = [ { options.foo.bar = with nixpkgs.lib; mkOption { type = types.package; }; } { foo.bar = ./.; } ]; }; in builtins.trace foo.config.foo.bar.outPath nixpkgs.legacyPackages.x86_64-linux.hello; defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello; }; } ``` Then you'll get an error trace like this: ``` error: 'builtins.storePath' is not allowed in pure evaluation mode at /nix/store/p4h2x6r80njkb0j2rc1xjhhl99yri3zb-source/lib/attrsets.nix:328:15: 327| let 328| path' = builtins.storePath path; | ^ 329| res = … while evaluating the attribute 'config.foo.bar.outPath' at /nix/store/p4h2x6r80njkb0j2rc1xjhhl99yri3zb-source/lib/attrsets.nix:332:11: 331| name = sanitizeDerivationName (builtins.substring 33 (-1) (baseNameOf path')); 332| outPath = path'; | ^ 333| outputs = [ "out" ]; … while evaluating the attribute 'packages.x86_64-linux.hello' at /nix/store/6c1rfsqzrhjw1235palzjmf5vihcpci7-source/flake.nix:3:5: 2| { outputs = { self, nixpkgs }: { 3| packages.x86_64-linux.hello = let | ^ 4| foo = nixpkgs.lib.evalModules { ``` Fixes #4745 | |||
2021-04-23 | Merge branch 'remove-trailing-spaces' of github.com:NixOS/nix | Eelco Dolstra | |