Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-13 | Convert option descriptions to Markdown | Eelco Dolstra | |
2021-01-11 | Merge pull request #4435 from DanilaFe/flake-input-types | Eelco Dolstra | |
Allow Flake inputs to accept boolean and integer attributes | |||
2021-01-08 | Upcase "Boolean" in Flake attribute type error | Danila | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2021-01-08 | string2Int(): Return std::optional | Eelco Dolstra | |
2021-01-08 | Use switch statement instead of sequence of ifs | Danila Fedorin | |
2021-01-08 | Allow Flake inputs to accept boolean and integer attributes | Danila Fedorin | |
I believe that this makes it possible to do things like Git inputs with submodules, but it also likely applies to other input types from libfetchers. | |||
2020-12-28 | Fixup | Matthew Bauer | |
2020-12-24 | Merge branch 'master' into support-libcxx10 | Matthew Bauer | |
2020-12-23 | Cast variants fully for libc++10 | Matthew Bauer | |
libc++10 seems to be stricter on what it allows in variant conversion. I'm not sure what the rules are here, but this is the minimal change needed to get through the compilation errors. | |||
2020-12-22 | Merge branch 'git-rev-error' of https://github.com/Ma27/nix into master | Eelco Dolstra | |
2020-12-22 | Move <nix/fetchurl.nix> into the nix binary | Eelco Dolstra | |
This makes the statically linked nix binary just work, without needing any additional files. | |||
2020-12-22 | Document `allRefs` argument of `builtins.fetchTree` | Maximilian Bosch | |
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. |