aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-23Add 'nix' manpageEelco Dolstra
2020-12-23Add TODOEelco Dolstra
2020-12-23Command: Remove examples()Eelco Dolstra
2020-12-23Add 'nix flake' manpagesEelco Dolstra
2020-12-21Add 'nix profile' manpageEelco Dolstra
2020-12-21Add 'nix bundle' manpageEelco Dolstra
Fixes #4375.
2020-12-21Add 'nix store diff-closures' manpageEelco Dolstra
2020-12-21Add 'nix show-derivation' manpageEelco Dolstra
2020-12-21nix show-derivation: Say "system" instead of "platform"Eelco Dolstra
There is really no good reason to use "platform" except that that's what we use internally (also for no good reason).
2020-12-21Add 'nix help' manpageEelco Dolstra
2020-12-21Add 'nix store make-content-addressable' manpageEelco Dolstra
2020-12-21DohEelco Dolstra
2020-12-21Add 'nix path-info' manpageEelco Dolstra
2020-12-21Add 'nix store optimise' manpageEelco Dolstra
2020-12-21Add 'nix store verify' manpageEelco Dolstra
2020-12-21Add 'nix upgrade-nix' manpageEelco Dolstra
2020-12-21Add 'nix why-depends' manpageEelco Dolstra
2020-12-21Add 'nix store' NAR-related manpagesEelco Dolstra
2020-12-21Add 'nix nar' manpagesEelco Dolstra
2020-12-21Add 'nix eval' manpageEelco Dolstra
2020-12-21Add 'nix store ping' manpageEelco Dolstra
2020-12-21TweakEelco Dolstra
2020-12-21Add 'nix log' manpageEelco Dolstra
2020-12-21Add 'nix repl' manpageEelco Dolstra
2020-12-21Add 'nix edit' manpageEelco Dolstra
2020-12-21TypoEelco Dolstra
2020-12-21Add 'nix registry' manpagesEelco Dolstra
This also documents the registry format and matching/unification semantics (though not quite correctly).
2020-12-21Add 'nix develop' and `nix print-dev-env' manpagesEelco Dolstra
2020-12-21Add 'nix search' manpageEelco Dolstra
2020-12-21Add 'nix copy' manpageEelco Dolstra
2020-12-21generate-manpage.nix: Fix short namesEelco Dolstra
2020-12-21Add 'nix run' and 'nix shell' manpagesEelco Dolstra
2020-12-21Add 'nix build' manpageEelco Dolstra
2020-12-21Move doc() to ArgsEelco Dolstra
2020-12-21Merge pull request #4385 from obsidiansystems/store-subclassEelco Dolstra
Overhaul store subclassing
2020-12-21Merge pull request #4355 from Infinisil/private-value-typeEelco Dolstra
Refactoring for private Value type
2020-12-20Overhaul store subclassingJohn Ericson
We embrace virtual the rest of the way, and get rid of the `assert(false)` 0-param constructors. We also list config base classes first, so the constructor order is always: 1. all the configs 2. all the stores Each in the same order
2020-12-18Replace Value type setters with mk* functionsSilvan 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-18Merge pull request #4302 from garbas/cli-guidelineEelco Dolstra
Adds Nix CLI Guideline to docs
2020-12-17smaller fixesRok Garbas
2020-12-17Merge remote-tracking branch 'origin/master' into cli-guidelineRok Garbas
2020-12-17Rename Value::normalType() -> Value::type()Silvan Mosberger
2020-12-17Rename ValueType -> InternalType, NormalType -> ValueTypeSilvan Mosberger
And Value::type to Value::internalType, such that type() can be used in the next commit to get the new ValueType
2020-12-17Merge pull request #4378 from NixOS/fix-master-buildEelco Dolstra
Fix the detection of already built drv outputs
2020-12-17Fix the detection of already built drv outputsregnat
PRs #4370 and #4348 had a bad interaction in that the second broke the fist one in a not trivial way. The issue was that since #4348 the logic for detecting whether a derivation output is already built requires some logic that was specific to the `LocalStore`. It happens though that most of this logic could be upstreamed to any `Store`, which is what this commit does.
2020-12-16Merge pull request #4370 from NixOS/ca/more-precise-build-noopEelco Dolstra
Better detect when `buildPaths` would be a no-op
2020-12-16Merge pull request #4373 from ↵Eelco Dolstra
NixOS/ca/fix-queryPartialDrvOutputMap-when-no-derivation Don't ignore an absent drv file in queryPartialDrvOutputMap
2020-12-16Don't ignore an absent drv file in queryPartialDrvOutputMapregnat
This ignore was here because `queryPartialDrvOutputMap` was used both 1. as a cache to avoid having to re-read the derivation (when gc-ing for example), and 2. as the source of truth for ca realisations The use-case 2. required it to be able to work even when the derivation wasn't there anymore (see https://github.com/NixOS/nix/issues/4138). However, this use-case is now handled by `queryRealisation`, meaning that we can safely error out if the derivation isn't there anymore
2020-12-16Merge pull request #4348 from NixOS/ca/use-hashmoduloEelco Dolstra
Use the hash modulo in the derivation outputs
2020-12-16Merge pull request #4371 from NixOS/ca/fix-remote-store-registerDrvOutputEelco Dolstra
Fix BinaryCacheStore::registerDrvOutput