aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-03Add 'nix nar dump-path'Eelco Dolstra
This only differs from 'nix store dump-path' in that the path doesn't need to be a store path.
2020-12-03Add deprecated aliases for renamed commandsEelco Dolstra
2020-12-03Add FIXMEEelco Dolstra
2020-12-03Move NAR-related commands to 'nix nar'Eelco Dolstra
2020-12-03Introduce 'nix store' commandEelco Dolstra
2020-12-03Allow registering subcommands of subcommandsEelco Dolstra
2020-12-03Move 'nix hash-*' and 'nix to-*' to 'nix hash'Eelco Dolstra
From the 'nix' UX review.
2020-12-03Remove 'dist' targetEelco Dolstra
We're not producing source tarballs anymore so this has been bitrotting.
2020-12-03nix add-to-store: Move markdown docs into a separate fileEelco Dolstra
2020-12-03Make doc() return arbitrary Markdown rather than the contents of the ↵Eelco Dolstra
"Description" section Thus we can return the examples section (and any other sections) from doc() and don't need examples() anymore.
2020-12-03Merge pull request #4308 from tweag/properly-test-early-cutoffEelco Dolstra
Properly test the early cutoff for CA derivations
2020-12-03Merge pull request #4304 from NixOS/separate-manpagesEelco Dolstra
Separate manpages for 'nix' subcommands
2020-12-03Properly test early cutoff with CA derivationsregnat
Build things with a different seed each time to make sure that it works despite the different drvs
2020-12-03Don't fail early when -j0 is passedregnat
If the build closure contains some CA derivations, then we can't know ahead-of-time that we won't build anything as early-cutoff might come-in at a laster stage
2020-12-03Merge pull request #4307 from matthewbauer/update-config-guessEelco Dolstra
Update config.guess & config.sub for proper arm64 macOS detection
2020-12-02Update config.guess for proper arm64 macOS detectionMatthew Bauer
This fixes results for arm64 macOS so config.guess now reports: aarch64-apple-darwin20.1.0 instead of arm-apple-darwin20.1.0
2020-12-02Merge pull request #4301 from imalsogreg/tokens-doc-fixEelco Dolstra
fix tokens documentation
2020-12-02Put examples first in the manpagesEelco Dolstra
2020-12-02Generate separate manpages for each nix subcommandEelco Dolstra
2020-12-02nix eval: Add option to write a directoryEelco Dolstra
This is useful for generating the nix manpages, but it may have other applications (like generating configuration files without a Nix store).
2020-12-02Add 'nix help'Eelco Dolstra
2020-12-02fix tokens documentationGreg Hale
2020-12-02Merge pull request #4300 from tweag/remove-unknown-pragma-warningEelco Dolstra
Remove `unknown pragma` gcc warning
2020-12-02Remove an `unknown pragma` gcc warningregnat
2020-12-02Add forgotten `override` annotationregnat
2020-12-02read(): Use char * instead of unsigned char *Eelco Dolstra
This gets rid of some pointless casts.
2020-12-02Sink: Use std::string_viewEelco Dolstra
2020-12-02writeFull/writeFile: Use std::string_viewEelco Dolstra
2020-12-01Merge pull request #4284 from tweag/fixed-output-depending-on-caEelco Dolstra
Allow fixed-output derivations to depend on (floating) content-addressed ones
2020-12-01Merge pull request #4297 from tweag/fix-clang-warningsEelco Dolstra
shut up clang warnings
2020-12-01shut up clang warningsregnat
- Fix some class/struct discrepancies - Explicit the overloading of `run` in the `Cmd*` classes - Ignore a warning in the generated lexer
2020-12-01replaceStrings(): Use std::string_viewEelco Dolstra
2020-12-01Macro hygieneEelco Dolstra
2020-12-01Move primeCache() to Worker::run()Eelco Dolstra
We need the missing path info to communicate the worker's remaining goals to the progress bar.
2020-12-01Lower verbosity for 'Failed to find a machine' messageEelco Dolstra
2020-12-01Macro hygieneEelco Dolstra
2020-11-27Allow fixed-output derivations to depend on (floating) content-addressed onesregnat
Fix an overlook of https://github.com/NixOS/nix/pull/4056
2020-11-26builtins.fetchGit: Fix shortRev attribute for dirty treesEelco Dolstra
2020-11-26Merge pull request #4094 from martinetd/btrfsEelco Dolstra
preallocateContents option: disable by default
2020-11-26archive: disable preallocate-contents by defaultDominique Martinet
using fallocate() to preallocate files space does more harm than good: - breaks compression on btrfs - has been called "not the right thing to do" by xfs developers (because delayed allocation that most filesystems implement leads to smarter allocation than what the filesystem needs to do if we upfront fallocate files)
2020-11-26Move to separate fileEelco Dolstra
2020-11-26Record trusted/untrusted settings in ~/.local/share/nixEelco Dolstra
2020-11-26Ask for confirmation before allowing flake Nix configuration settingsEelco Dolstra
2020-11-25fix the hash rewriting for ca-derivationsregnat
2020-11-23Merge pull request #4276 from B4dM4n/macos-sandbox-buildEelco Dolstra
Fix macOS sandbox build
2020-11-23Merge pull request #4275 from lukegb/mercurialHGPLAINEelco Dolstra
fetchMercurial: set HGPLAIN when invoking hg
2020-11-23Fix macOS sandbox buildFabian Möller
Since c4c3c15c19bc448a4797e5d9577539cc14890618 (#4251) building Nix for macOS with sandboxing fails: ``` getting status of /nix/var/nix/profiles/per-user/root/channels/nixpkgs: Operation not permitted ``` This happens, because `EvalSettings::getDefaultNixPath` tries to access paths outside the sandbox. Since the state-dir is not required for doc generation, it is set to the dummy folder. This needs to be done for all nix invocations during doc generation, as `EvalSettings::getDefaultNixPath` is called unconditionally.
2020-11-23fetchMercurial: set HGPLAIN when invoking hgLuke Granger-Brown
Without setting HGPLAIN, the user's environment leaks into hg invocations, which means that the output may not be in the expected format. HGPLAIN is the Mercurial-recommended solution for this in that it's intended for uses by scripts and programs which are looking to parse Mercurial's output in a consistent manner.
2020-11-23Merge pull request #4271 from wiltaylor/IgnoreReferenceSwitchEelco Dolstra
Skip Reference Check on bundler
2020-11-23Removed reference check from bundler commandWil Taylor