Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-09 | nix develop: Preserve stdin with `-c` | Sebastian Ullrich | |
2020-10-26 | Make the prompt used in development shells configurable | Eelco Dolstra | |
2020-10-22 | Fix clang build | Eelco Dolstra | |
2020-10-22 | nix develop: Add --redirect flag to redirect dependencies | Eelco Dolstra | |
This is primarily useful if you're hacking simultaneously on a package and one of its dependencies. E.g. if you're hacking on Hydra and Nix, you would start a dev shell for Nix, and then a dev shell for Hydra as follows: $ nix develop \ --redirect .#hydraJobs.build.x86_64-linux.nix ~/Dev/nix/outputs/out \ --redirect .#hydraJobs.build.x86_64-linux.nix.dev ~/Dev/nix/outputs/dev (This assumes hydraJobs.build.x86_64-linux has a passthru.nix attribute. You can also use a store path.) This causes all references in the environment to those store paths to be rewritten to ~/Dev/nix/outputs/{out,dev}. Note: unfortunately, you may need to set LD_LIBRARY_PATH=~/Dev/nix/outputs/out/lib because Nixpkgs' ld-wrapper only adds -rpath entries for -L flags that point to the Nix store. | |||
2020-10-21 | nix develop: Handle 'declare -ax' in bash output | Eelco Dolstra | |
Fixes 'nix develop nixpkgs#qpdfview'. | |||
2020-10-20 | Make bash non-interactive for nix develop --phase | Matthew Kenigsberg | |
Fix #3975: Currently if Ctrl-C is pressed during a phase, the interactive subshell is not exited. Removing --rcfile when --phase is present makes bash non-interactive | |||
2020-10-09 | nix develop: Unset $HOSTNAME | Eelco Dolstra | |
This is set to "localhost" by stdenv which is probably not what you want. | |||
2020-10-09 | nix develop: Source ~/.bashrc | Eelco Dolstra | |
Fixes #4104. | |||
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-09-16 | Make the store plugins more introspectable | regnat | |
Directly register the store classes rather than a function to build an instance of them. This gives the possibility to introspect static members of the class or choose different ways of instantiating them. | |||
2020-08-28 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-28 | nix develop: Add convenience flags for running specific phases | Eelco Dolstra | |
For example, for building the Nix flake, you would do: $ nix develop --configure $ nix develop --install $ nix develop --installcheck | |||
2020-08-28 | nix develop: Set output paths to writable locations | Eelco Dolstra | |
Currently, they're set to $(pwd)/outputs/$outputName. This allows commands like 'make install' to work. | |||
2020-08-23 | `writeDerivation` just needs a plain store reference | John Ericson | |
2020-08-19 | fix spelling | Ryan Mulligan | |
2020-08-10 | Remove name parameter from `writeDerivation` | John Ericson | |
The name is now stored with the derivation itself. | |||
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-07-29 | Set regex_constants::match_continuous for quicker search | Matthew Bauer | |
match_continuous limits the search to the current start position, instead of searching the entire file. On libc++, this improves performance dramatically: $ time /nix/store/70ai68dfm6xbzwn26j5n4li9di52ylia-nix-3.0pre20200728_c159f48/bin/nix print-dev-env >/dev/null /nix/store/70ai68dfm6xbzwn26j5n4li9di52ylia-nix-3.0pre20200728_c159f48/bin/ni 2.39s user 0.19s system 64% cpu 4.032 total $ time /nix/store/cwjfxxlp83zln4mfyy1d2dbsx7f6s962-nix-3.0pre20200728_dirty/bin/nix print-dev-env >/dev/null /nix/store/cwjfxxlp83zln4mfyy1d2dbsx7f6s962-nix-3.0pre20200728_dirty/bin/nix 0.09s user 0.05s system 65% cpu 0.204 total Fixes #3874 | |||
2020-07-17 | Merge branch 'multi-output-hashDerivationModulo' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into misc-ca | |||
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-15 | nix: Add --derivation flag to operate on .drv paths | Eelco Dolstra | |
For instance, 'nix why-depends --use-derivation nixpkgs#hello nixpkgs#glibc' shows why hello's .drv depends on glibc's .drv. | |||
2020-07-15 | Clean up RealiseMode | Eelco Dolstra | |
2020-07-12 | DerivationOutputExtensional -> DerivationOutputInputAddressed | John Ericson | |
Thanks @regnat for the great name. | |||
2020-07-09 | Fix DerivationOutputExtensional name | Matthew Bauer | |
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-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-03 | nix develop: Fix bad regex | Eelco Dolstra | |
This was accepted by libstdc++ but not libc++. https://hydra.nixos.org/build/123569154 | |||
2020-07-02 | Fix abort in 'nix develop' | Eelco Dolstra | |
2020-06-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-19 | Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-19 | Use designated initializers for `DerivationOutputHash` | John Ericson | |
2020-06-19 | FileSystemHash -> DerivationOutputHash | John Ericson | |
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
2020-06-04 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-04 | Rename 'nix dev-shell' to 'nix develop' | Eelco Dolstra | |
Fixes #3648. |