Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-08 | Cleanup | Eelco Dolstra | |
2020-07-08 | Make LocalStore::addToStore(srcPath) run in constant memory | Eelco Dolstra | |
This reduces memory consumption of nix-instantiate \ -E 'with import <nixpkgs> {}; runCommand "foo" { src = ./blender; } "echo foo"' \ --option nar-buffer-size 10000 (where ./blender is a 1.1 GiB tree) from 1716 to 36 MiB, while still ensuring that we don't do any write I/O for small source paths (up to 'nar-buffer-size' bytes). The downside is that large paths are now always written to a temporary location in the store, even if they produce an already valid store path. Thus, adding large paths might be slower and run out of disk space. ¯\_(ツ)_/¯ Of course, you can always restore the old behaviour by setting 'nar-buffer-size' to a very high value. | |||
2020-07-08 | Add name to BasicDerivation | Matthew Bauer | |
We always have a name for BasicDerivation, since we have a derivation store path that has a name. | |||
2020-07-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-08 | Fix 'got unknown message type 1 from Nix daemon' | Eelco Dolstra | |
Example: $ nix-build -E 'with import <nixpkgs> {}; runCommand "foo" { x = runCommand "bar" {} "exit 1"; } "echo foo; exit 1"' warning: unknown setting 'auto-allocate-uids' these 2 derivations will be built: /nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv /nix/store/k4fsvrjl7cp2xpz7927iv7g0dqj1zyhs-foo.drv warning: unknown setting 'auto-allocate-uids' building '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv'... error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-daemon builder for '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv' failed with exit code 1 error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix-build got unknown message type 1 from Nix daemon | |||
2020-07-07 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-07 | Fix coverage build | Eelco Dolstra | |
2020-07-07 | exportReferencesGraph: Fix support for non-top-level store paths | Eelco Dolstra | |
Fixes #3471. | |||
2020-07-06 | bump | Ben Burdette | |
2020-07-06 | revamp trace code and test | Ben Burdette | |
2020-07-06 | nix develop: Support derivations with multiple outputs | Eelco Dolstra | |
2020-07-06 | nix develop: Fall back to "bash" if nixpkgs#bashInteractive is unavailable | Eelco Dolstra | |
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-04 | spacing | Ben Burdette | |
2020-07-03 | Merge remote-tracking branch 'upstream/master' into add-body-to-network-errors | John Ericson | |
2020-07-03 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | John Ericson | |
2020-07-03 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-07-03 | nix develop: Fix bad regex | Eelco Dolstra | |
This was accepted by libstdc++ but not libc++. https://hydra.nixos.org/build/123569154 | |||
2020-07-03 | Shut up a clang warning | Eelco Dolstra | |
2020-07-03 | Shorten the path to the test root | regnat | |
Fix a socket length failure on the OSX builders | |||
2020-07-02 | Fix Narinfo corruption detection bug | John Ericson | |
The aim of this check was just to ensure each key occurs once. | |||
2020-07-02 | Fix abort in 'nix develop' | Eelco Dolstra | |
2020-07-02 | spacing | Ben Burdette | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-07-02 | assert for invalid fileorigin | Ben Burdette | |
2020-07-01 | spacing | Ben Burdette | |
2020-07-01 | Don't process an option if any of its arguments need completion | Eelco Dolstra | |
2020-07-01 | Add --inputs-from to use flake inputs as registry entries | Eelco Dolstra | |
This allows you to refer to an input from another flake. For example, $ nix run --inputs-from /path/to/hydra nixpkgs#hello runs 'hello' from the 'nixpkgs' inputs of the 'hydra' flake. Fixes #3769. | |||
2020-07-01 | if no errLoc, no Loc. | Ben Burdette | |
2020-07-01 | don't include errpos for addErrorContext | Ben Burdette | |
2020-07-01 | non-pos trace test | Ben Burdette | |
2020-07-01 | Cleanup | Eelco Dolstra | |
2020-07-01 | Merge branch 'remote-query-outputs' of https://github.com/tweag/nix | Eelco Dolstra | |
2020-07-01 | Support building flakes from a shallow Git repo | Eelco Dolstra | |
Fixes #3756. | |||
2020-06-30 | fix tests with the 'from string' change | Ben Burdette | |
2020-06-30 | comments and cleanup | Ben Burdette | |
2020-06-30 | double addtrace for 'called from' | Ben Burdette | |
2020-06-30 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-06-30 | invalid pos check | Ben Burdette | |
2020-06-30 | check for a null symbol | Ben Burdette | |
2020-06-29 | trace formatting | Ben Burdette | |
2020-06-29 | Add possibly missing `<string>` include | John Ericson | |
2020-06-29 | NAR parser: Fix missing name field check | Eelco Dolstra | |
Discovered by @Kloenk. | |||
2020-06-29 | Add unordered_set to globals.cc header | Matthew Bauer | |
2020-06-29 | Remove lazy lookup in getHome | Matthew Bauer | |
this seems to break in Musl/Static with: terminate called after throwing an instance of 'std::bad_function_call' what(): bad_function_call | |||
2020-06-29 | Rename logging->stdout to logging->stdout_ | Matthew Bauer | |
musl doesn't like this identifier | |||
2020-06-29 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-29 | nix run: Use packages/legacyPackages as fallback if there is no app definition | Eelco Dolstra | |
'nix run' will try to run $out/bin/<name>, where <name> is the derivation name (excluding the version). This often works well: $ nix run nixpkgs#hello Hello, world! $ nix run nix -- --version nix (Nix) 2.4pre20200626_adf2fbb $ nix run patchelf -- --version patchelf 0.11.20200623.e61654b $ nix run nixpkgs#firefox -- --version Mozilla Firefox 77.0.1 $ nix run nixpkgs#gimp -- --version GNU Image Manipulation Program version 2.10.14 though not always: $ nix run nixpkgs#git error: unable to execute '/nix/store/kp7wp760l4gryq9s36x481b2x4rfklcy-git-2.25.4/bin/git-minimal': No such file or directory | |||
2020-06-29 | EvalCache: Store string contexts | Eelco Dolstra | |