Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2021-04-23 | Replace the trailing markdown spaces by a backslash | regnat | |
They are equivalent according to <https://spec.commonmark.org/0.29/#hard-line-breaks>, and the trailing spaces tend to be a pain (because the make git complain, editors tend to want to remove them − the `.editorconfig` actually specifies that − etc..). | |||
2021-04-23 | Merge pull request #4732 from NixOS/4725-always-register-the-realisations | Eelco Dolstra | |
Aways register the realisations | |||
2021-04-23 | Merge pull request #4735 from NixOS/document-ca-derivations | Eelco Dolstra | |
(briefly) document how to build ca derivations | |||
2021-04-23 | Use lowdown 0.8.4 | Eelco Dolstra | |
2021-04-23 | Set more man sections | Eelco Dolstra | |
2021-04-23 | Merge branch 'man1' of https://github.com/alyssais/nix | Eelco Dolstra | |
2021-04-23 | doc: fix section in nix3 man page metadata | Alyssa Ross | |
These man pages said they were in section 7, even though we were installing them to section 1 (which is the right place for them). | |||
2021-04-23 | Merge pull request #4440 from Ma27/misc-pos-fixes | Eelco Dolstra | |
Miscellaneous improvements for positioning in eval-errors | |||
2021-04-23 | (briefly) document how to build ca derivations | regnat | |
2021-04-23 | Revert "Make `nix shell` fallback to static outputs when needed" | regnat | |
This reverts commit 8d66f5f1107fe87f70ea24ade045720235cc31fa. This fix isn't needed anymore now that the realisations are always properly registered | |||
2021-04-23 | fixup! Add a regression test for #4725 | regnat | |
2021-04-22 | Always register the realisations of input-addressed drvs | regnat | |
Fix #4725 | |||
2021-04-22 | Add a regression test for #4725 | regnat | |
2021-04-22 | Merge branch 'master' of github.com:NixOS/nix | Eelco Dolstra | |
2021-04-22 | Merge branch 'nix-derivation-query-store-path' of ↵ | Eelco Dolstra | |
https://github.com/matthewbauer/nix | |||
2021-04-22 | Merge pull request #4724 from NixOS/nix-shell-missing-outputs | Eelco Dolstra | |
Make `nix shell` fallback to static outputs when needed | |||
2021-04-22 | Remove makeDecompressionSource() | Eelco Dolstra | |
This function doesn't support all compression methods (i.e. 'none' and 'br') so it shouldn't be exposed. Also restore the original decompress() as a wrapper around makeDecompressionSink(). | |||
2021-04-22 | Merge branch 's3-decompress' of https://github.com/lukegb/nix | Eelco Dolstra | |
2021-04-22 | Merge pull request #4729 from alarsyo/fix-flake-doc-typo | Eelco Dolstra | |
Fix typo in flake doc |