aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-17InstallableFlake: Show all possible attribute namesEelco Dolstra
E.g. $ nix run nixpkgs#hello error: --- Error ---------- nix flake 'flake:nixpkgs' does not provide attribute 'apps.x86_64-linux.hello' or 'hello' instead of $ nix run nixpkgs#hello error: --- Error ---------- nix flake 'flake:nixpkgs' does not provide attribute 'hello'
2020-06-17getFlake -> builtins.getFlakeEelco Dolstra
2020-06-17Don't provide 'getFlake' if the 'flakes' feature is not enabledEelco Dolstra
2020-06-17Fix coverage buildEelco Dolstra
2020-06-17Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-16Remove StorePath::clone() and related functionsEelco Dolstra
2020-06-16Merge pull request #3702 from NixOS/store-path-cxxEelco Dolstra
Rewrite StorePath class in C++
2020-06-16Merge pull request #3704 from obsidiansystems/fix-includeEelco Dolstra
Add another missing #include
2020-06-16Add another missing #includeJohn Ericson
2020-06-16release.nix: Remove vendoredCratesEelco Dolstra
2020-06-16StorePath: Rewrite in C++Eelco Dolstra
On nix-env -qa -f '<nixpkgs>', this reduces maximum RSS by 20970 KiB and runtime by 0.8%. This is mostly because we're not parsing the hash part as a hash anymore (just validating that it consists of base-32 characters). Also, replace storePathToHash() by StorePath::hashPart().
2020-06-16Fix FTP supportEelco Dolstra
Fixes #3618.
2020-06-16Merge pull request #3700 from gilligan/fix-masterDomen Kožar
Fix master
2020-06-16Fix logging unit testsTobias Pflug
2020-06-15Add mising #include for strerrorJohn Ericson
2020-06-15Print only one error message if a build failsEelco Dolstra
E.g. instead of error: --- BuildError ----------------------------------------------- nix builder for '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed with exit code 1 error: --- Error ---------------------------------------------------- nix build of '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed we now get error: --- Error ---------------------------------------------------- nix builder for '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed with exit code 1
2020-06-15Include only the base name of the program in error messagesEelco Dolstra
2020-06-15Respect terminal width printing error messagesEelco Dolstra
2020-06-15CleanupEelco Dolstra
2020-06-15Always hide the progress bar on exitEelco Dolstra
2020-06-15Remove unnecessary amDone() overridesEelco Dolstra
2020-06-15Give better error message about <...> in pure eval modeEelco Dolstra
2020-06-15Improve "waiting for locks" messagesEelco Dolstra
These are now shown in the progress bar. Closes #3577.
2020-06-15Remove trailing whitespaceEelco Dolstra
2020-06-15Get rid of explicit ErrorInfo constructorsEelco Dolstra
2020-06-15Disambiguate BaseError(Args) constructorEelco Dolstra
This means that 'throw Error({ ... ErrorInfo ... })' now works.
2020-06-15Merge branch 'errors-phase-2' of https://github.com/bburdette/nixEelco Dolstra
2020-06-15Merge pull request #3690 from obsidiansystems/more-string-viewEelco Dolstra
Use `std::string_view` in a few more places
2020-06-15upload-release.pl: Fix nix-fallback-paths.nix generationEelco Dolstra
2020-06-12Use `std::string_view` in a few more placesJohn Ericson
2020-06-12Fix buildEelco Dolstra
2020-06-12Merge pull request #3674 from matthewbauer/allow-empty-hash2Eelco Dolstra
Allow empty hash in derivations
2020-06-12Provide base argument to to_stringMatthew Bauer
2020-06-12Add newHashAllowEmpty helper functionMatthew Bauer
This replaces the copy&paste with a helper function in hash.hh.
2020-06-12Add Store::readDerivation() convenience functionEelco Dolstra
2020-06-12Remove Store::queryDerivationOutputNames()Eelco Dolstra
This function was used in only one place, where it could easily be replaced by readDerivation() since it's not performance-critical. (This function appears to have been modelled after queryDerivationOutputs(), which exists only to make the garbage collector faster.)
2020-06-12Merge pull request #3670 from gilligan/add-pool-testsEelco Dolstra
Add tests for pool.hh
2020-06-12Check 'follows' inputsEelco Dolstra
2020-06-11Merge remote-tracking branch 'upstream/master' into errors-phase-2Ben Burdette
2020-06-11diffLockFiles(): Show 'follows' changesEelco Dolstra
2020-06-11Merge pull request #3073 from tweag/machine-logsEelco Dolstra
Add an option to print the logs in a machine-readable format
2020-06-11Move names.{cc,hh} to libstoreEelco Dolstra
2020-06-11Shut up warningEelco Dolstra
2020-06-11Style fixesEelco Dolstra
2020-06-11Represent 'follows' inputs explicitly in the lock fileEelco Dolstra
This fixes an issue where lockfile generation was not idempotent: after updating a lockfile, a "follows" node would end up pointing to a new copy of the node, rather than to the original node.
2020-06-10Add tests for pool.hhTobias Pflug
2020-06-10Preserve 'isFlake' when not updating a lock file entryEelco Dolstra
2020-06-10Combine lock file update messagesEelco Dolstra
2020-06-10Add helper function printInputPath()Eelco Dolstra
2020-06-10Merge pull request #3655 from zimbatm/hash-encoding-prepareEelco Dolstra
libutils/hash: remove default encoding