Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-21 | Merge pull request #4355 from Infinisil/private-value-type | Eelco Dolstra | |
Refactoring for private Value type | |||
2020-12-18 | Replace Value type setters with mk* functions | Silvan Mosberger | |
Move clearValue inside Value mkInt instead of setInt mkBool instead of setBool mkString instead of setString mkPath instead of setPath mkNull instead of setNull mkAttrs instead of setAttrs mkList instead of setList* mkThunk instead of setThunk mkApp instead of setApp mkLambda instead of setLambda mkBlackhole instead of setBlackhole mkPrimOp instead of setPrimOp mkPrimOpApp instead of setPrimOpApp mkExternal instead of setExternal mkFloat instead of setFloat Add note that the static mk* function should be removed eventually | |||
2020-12-17 | Rename Value::normalType() -> Value::type() | Silvan Mosberger | |
2020-12-17 | Rename ValueType -> InternalType, NormalType -> ValueType | Silvan Mosberger | |
And Value::type to Value::internalType, such that type() can be used in the next commit to get the new ValueType | |||
2020-12-16 | Merge pull request #4348 from NixOS/ca/use-hashmodulo | Eelco Dolstra | |
Use the hash modulo in the derivation outputs | |||
2020-12-13 | primops/fromJSON: add error position in case of parse error | Maximilian Bosch | |
This makes it easier to track down where invalid JSON was passed to `builtins.fromJSON`. | |||
2020-12-12 | Make Value::type private | Silvan Mosberger | |
This is an implementation detail and shouldn't be used. Use normalType() and the various is<Type> functions instead | |||
2020-12-12 | Add ValueType checking functions for types that have the same NormalType | Silvan Mosberger | |
2020-12-12 | Use Value::normalType on all forced values instead of Value::type | Silvan Mosberger | |
2020-12-12 | Introduce Value type setters and make use of them | Silvan Mosberger | |
2020-12-12 | Introduce NormalType for the normal type of a Value | Silvan Mosberger | |
This will be useful to abstract over the ValueType implementation details Make use of it already to replace the showType(ValueType) function | |||
2020-12-11 | Use the hash modulo in the derivation outputs | regnat | |
Rather than storing the derivation outputs as `drvPath!outputName` internally, store them as `drvHashModulo!outputName` (or `outputHash!outputName` for fixed-output derivations). This makes the storage slightly more opaque, but enables an earlier cutoff in cases where a fixed-output dependency changes (but keeps the same output hash) − same as what we already do for input-addressed derivations. | |||
2020-12-03 | Remove 'dist' target | Eelco Dolstra | |
We're not producing source tarballs anymore so this has been bitrotting. | |||
2020-12-02 | Remove an `unknown pragma` gcc warning | regnat | |
2020-12-01 | shut up clang warnings | regnat | |
- Fix some class/struct discrepancies - Explicit the overloading of `run` in the `Cmd*` classes - Ignore a warning in the generated lexer | |||
2020-11-26 | builtins.fetchGit: Fix shortRev attribute for dirty trees | Eelco Dolstra | |
2020-11-26 | Move to separate file | Eelco Dolstra | |
2020-11-26 | Record trusted/untrusted settings in ~/.local/share/nix | Eelco Dolstra | |
2020-11-26 | Ask for confirmation before allowing flake Nix configuration settings | Eelco Dolstra | |
2020-11-19 | AttrCursor::getStringWithContext(): Force re-evaluation if the cached ↵ | Eelco Dolstra | |
context is not valid Fixes #4236. | |||
2020-11-19 | Fix assertion failure in LockFile::LockFile() | Eelco Dolstra | |
Fixes #4241. | |||
2020-11-19 | Make drv hash modulo memo table thread-safe | John Ericson | |
Let's get one step closer to the daemon not needing to fork. | |||
2020-11-17 | Merge pull request #4189 from edolstra/flake-config | Eelco Dolstra | |
Allow nix.conf options to be set in flake.nix | |||
2020-11-12 | Fix default nix-path | Christian Höppner | |
The default nix-path values for nixpkgs and root channels were incorrect. | |||
2020-11-05 | Merge pull request #4206 from hercules-ci/fix-coroutine-gc | Eelco Dolstra | |
Fix memory corruption caused by GC-invisible coroutine stacks | |||
2020-11-03 | Fix error message 'assertion failed at' | Eelco Dolstra | |
2020-10-30 | BoehmGCStackAllocator: increase stack size to 8MB | Robert Hensing | |
The default stack size was not based on the normal stack size and was too small. | |||
2020-10-30 | Fix memory corruption caused by GC-invisible coroutine stacks | Robert Hensing | |
Crucially this introduces BoehmGCStackAllocator, but it also adds a bunch of wiring to avoid making libutil depend on bdw-gc. Part of the solutions for #4178, #4200 | |||
2020-10-29 | Merge pull request #4199 from stefanjaax/replaceWantedBySpecified | Eelco Dolstra | |
Alter "wanted:" to "specified:" in hash mismatch output | |||
2020-10-29 | Alter "wanted:" to "specified:" in hash mismatch output | stev | |
This makes it even clearer which of the two hashes was specified in the nix files. Some may think that "wanted" and "got" is obvious, but: "got" could mean "got in nix file" and "wanted" could mean "want to see in nix file". | |||
2020-10-28 | Capitalize JSON for consistency | Matthew Kenigsberg | |
2020-10-27 | Merge pull request #4056 from tweag/non-ca-depending-on-ca | Eelco Dolstra | |
Allow non-CA derivations to depend on CA ones | |||
2020-10-27 | Allow non-CA derivations to depend on CA derivations | regnat | |
2020-10-26 | Allow nix.conf options to be set in flake.nix | Eelco Dolstra | |
This makes it possible to have per-project configuration in flake.nix, e.g. binary caches and other stuff: nixConfig.bash-prompt-suffix = "[1;35mngi# [0m"; nixConfig.substituters = [ "https://cache.ngi0.nixos.org/" ]; | |||
2020-10-26 | isTrivial(): Support trivial lists | Eelco Dolstra | |
2020-10-26 | Remove edition field | Eelco Dolstra | |
2020-10-26 | Move Explicit | Eelco Dolstra | |
2020-10-19 | Merge pull request #4080 from kquick/kwq/flake-int-doc | Eelco Dolstra | |
Add some internal documentation for flake support objects. | |||
2020-10-06 | Shut up some clang warnings | Eelco Dolstra | |
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-10-06 | Remove 'using namespace fetchers' | Eelco Dolstra | |
2020-10-06 | Add missing #pragma once | Eelco Dolstra | |
2020-09-29 | Merge branch 'kwq/path-dir-query' of https://github.com/kquick/nix | Eelco Dolstra | |
2020-09-29 | nix registry list: Show 'dir' attribute | Eelco Dolstra | |
Issue #4050. | |||
2020-09-29 | Make Headers an optional argument | Eelco Dolstra | |
2020-09-29 | Merge branch 'github-api-token' of https://github.com/imalsogreg/nix | Eelco Dolstra | |
2020-09-28 | Switch comment format from '// ...' to '/* ... */' for consistency. | Kevin Quick | |
2020-09-28 | Clarification in the description of the FlakeInput. | Kevin Quick | |
2020-09-28 | Update description of FlakeRef, incorporating suggestion. | Kevin Quick | |
2020-09-27 | Miscellaneous spelling fixes in comments. (#4071) | Kevin Quick | |