aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-11-20Remove #includeEelco Dolstra
2019-11-20Move #includeEelco Dolstra
2019-11-14Fix attr path to nixpkgs flake in flake templateMaximilian Bosch
This doesn't work anymore since `packages` was removed from the `nixpkgs`-fork with flake support[1], now it's only possible to refer to pkgs via `legacyPackages`. [1] https://github.com/edolstra/nixpkgs/commit/49c9b71e4ca98722cecd64ce8d53c1a4b9c46b64
2019-11-12nix dev-shell: Improve bash output parsingEelco Dolstra
Fixes handling of '=' in unquoted strings and escaped characters in $'...' strings.
2019-11-08Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-08Move editorFor srom libutil to nixEelco Dolstra
libutil should not depend on libexpr.
2019-11-07Use upstream nlohmann_jsonEelco Dolstra
2019-11-07Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-07Remove #includeEelco Dolstra
2019-11-06CleanupEelco Dolstra
2019-11-06Use more stable registry URLEelco Dolstra
2019-11-06Use revcount/last-modified for computing the flake fingerprintEelco Dolstra
The store path is not enough. For example, when we build a dirty tree, commit, and build the clean tree, a re-evaluation is necessary because the flake may depend on the lastModified or revCount attributes.
2019-11-06Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-05Merge branch 'fix/nix-doctor-output' of https://github.com/bhipple/nixEelco Dolstra
2019-11-05Merge branch 'nix-repl-e' of https://github.com/zimbatm/nixEelco Dolstra
2019-11-05Merge pull request #3190 from mkenigs/examplesEelco Dolstra
change deprecated attribute syntax in run examples
2019-11-05Merge pull request #3173 from mkenigs/typoEelco Dolstra
fix typo
2019-11-05Don't use SOCK_CLOEXEC on macOSEelco Dolstra
https://hydra.nixos.org/build/105428308
2019-11-04Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-04Merge pull request #3202 from kraem/masterEelco Dolstra
Update nix eval --help msg to not include deprecated command
2019-11-03Fix progress bar when nix-prefetch-url is piped.Harald van Dijk
The intent of the code was that if the window size cannot be determined, it would be treated as having the maximum possible size. Because of a missing assignment, it was actually treated as having a width of 0. The reason the width could not be determined was because it was obtained from stdout, not stderr, even though the printing was done to stderr. This commit addresses both issues.
2019-11-03Update nix eval --help msg to not include deprecated commandkraem
2019-11-01include netinet/in.h in src/nix/main.ccng0
Fixes #3186
2019-10-31change deprecated attribute syntax in run examplesmatthew
2019-10-31Merge pull request #3182 from bhipple/fixup/commentsEelco Dolstra
Minor updates to inline comments
2019-10-31Minor updates to inline commentsBenjamin Hipple
Add missing docstring on InstallableCommand. Also, some of these were wrapped when they're right next to a line longer than the unwrapped line, so we can just unwrap them to save vertical space.
2019-10-30minor: fix mismatch of struct/class forward decl of 'Source'Will Dietz
Fixes the following warning and the indicate potential issue: src/libstore/worker-protocol.hh:66:1: warning: class 'Source' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] (cherry picked from commit 6e1bb04870b1b723282d32182af286646f13bf3c)
2019-10-30Replace git show with git logJanne Heß
git show seems to print the entire tag message when being called on a tag instead of a commit. git log instead always prints the correct timestamp in my tests. The error nix prints is: `error: stoull`.
2019-10-29queryPathInfoUncached(): Return const ValidPathInfoEelco Dolstra
2019-10-29Move addToStoreFromDump to StoreEelco Dolstra
2019-10-29Don't create a Store in processConnection()Eelco Dolstra
2019-10-29Move Unix domain socket creation to libutilEelco Dolstra
Also drop multithread-unfriendly hacks like doing a temporary chmod/umask.
2019-10-29Move most of the daemon implementation to libstoreEelco Dolstra
2019-10-29Remove the check against concurrent builds in the same processEelco Dolstra
2019-10-28fix typomatthew
2019-10-28findDerivationFilename: add FIXMEzimbatm
2019-10-28nix repl: also handle lambda editzimbatm
2019-10-28editorFor: take a pos object insteadzimbatm
2019-10-28libexpr: findDerivationFilename return Pos instead of tuplezimbatm
2019-10-27Factor out linkOrCopy()Eelco Dolstra
2019-10-27Add O(1)-memory copyPath() functionEelco Dolstra
2019-10-27SimplificationEelco Dolstra
2019-10-27Merge branch 'issue-3147-inNixShell-arg' of https://github.com/hercules-ci/nixEelco Dolstra
2019-10-27Add inNixShell = true to nix-shell auto-callRobert Hensing
This is an alternative to the IN_NIX_SHELL environment variable, allowing the expression to adapt itself to nix-shell without triggering those adaptations when used as a dependency of another shell. Closes #3147
2019-10-27Merge branch 'tojson-tostring-fix' of https://github.com/mayflower/nixEelco Dolstra
2019-10-27builtins.toJSON: fix __toString usageRobin Gloster
2019-10-23libexpr: add findDerivationFilenamezimbatm
extract the derivation to filename:lineno heuristic
2019-10-23libutil: add editorFor heuristiczimbatm
2019-10-23nix repl: add :edit commandzimbatm
This allows to have a repl-centric workflow to working on nixpkgs. Usage: :edit <package> - heuristic that find the package file path :edit <path> - just open the editor on the file path Once invoked, `nix repl` will open $EDITOR on that file path. Once the editor exits, `nix repl` will automatically reload itself.
2019-10-22Use upstream nlohmann_jsonEelco Dolstra