aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-14github fetcher: Don't use HEAD branch when cloningEelco Dolstra
Fixes #4394.
2021-09-14github fetcher: Use git+https for cloningEelco Dolstra
git+ssh only works if you have SSH access.
2021-09-14Merge pull request #5246 from edolstra/faster-checkEelco Dolstra
Speed up 'nix flake check'
2021-09-14Merge pull request #5245 from edolstra/warningsEelco Dolstra
Change warning messages from yellow to magenta
2021-09-14flake.nix: Don't do cross builds in 'nix flake check'Eelco Dolstra
'nix flake check' should be relatively fast, so it's not the best place to do cross-builds. We're already doing that in Hydra.
2021-09-14nix-tests: Run 'make installcheck' in parallelEelco Dolstra
2021-09-14Merge pull request #5240 from edolstra/builtin-helpEelco Dolstra
nix --help: Display help using lowdown instead of man
2021-09-14Merge branch 'lowdown_configure_dependency' of https://github.com/fedepell/nixEelco Dolstra
2021-09-14Change warnings from yellow to magentaEelco Dolstra
This matches gcc and clang.
2021-09-14ANSI_YELLOW -> ANSI_WARNINGEelco Dolstra
2021-09-14Merge pull request #5244 from edolstra/fix-mac-buildEelco Dolstra
Fix macOS build
2021-09-14Fix macOS buildEelco Dolstra
2021-09-14Fix clang warningEelco Dolstra
2021-09-14configure: explicit dependency on lowdown libraryFederico Pellegrin
This dependency is used from quite a long time (now in libcmd) but was not explicitly stated in the configure phase, possibly leading to quite late build failures if that was not met (ie. building it outside the .nix files provided). This MR adds it in the configure phase so the failure is early and error is much more explicit.
2021-09-13RunOptions: Use designated initializersEelco Dolstra
Also get rid of _killStderr because it wasn't actually checked anywhere.
2021-09-13Remove tabsEelco Dolstra
2021-09-13hashFile, hashString: realize context before calculation, and discard afterwardskvtb
2021-09-13Merge pull request #5239 from NixOS/fix-recursive-nixEelco Dolstra
tests: Fix the recursive test with the daemon
2021-09-13nix --help: Display help using lowdown instead of manEelco Dolstra
Fixes #4476. Fixes #5231.
2021-09-13lowdown: Update to 0.8.6Eelco Dolstra
2021-09-13flake.lock: UpdateEelco Dolstra
Flake lock file changes: • Updated input 'lowdown-src': 'github:kristapsdz/lowdown/148f9b2f586c41b7e36e73009db43ea68c7a1a4d' (2021-04-03) → 'github:kristapsdz/lowdown/b4483d0ef85990f54b864158ab786b4a5b3904fa' (2021-08-06)
2021-09-13Fix markdown errorEelco Dolstra
2021-09-13tests: Fix the recursive test with the daemonregnat
Add the `recursive-nix` experimental-feature to the daemon, as the test will otherwise fail
2021-09-13Use Bindings::{get,need} instead of findEelco Dolstra
2021-09-13renderMarkdownToTerminal(): Fix terminal width computationEelco Dolstra
2021-09-10Remove tabsEelco Dolstra
2021-09-10Make installables constEelco Dolstra
2021-09-09Manual: Link to 2.4 release notesEelco Dolstra
2021-09-09Manual: Depend on all *.md filesEelco Dolstra
2021-09-09Merge pull request #5224 from baloo/baloo/5089/force-nss_dns-loadEelco Dolstra
preloadNSS: fixup nss_dns load
2021-09-08Ensure nix flake show produces valid jsonTom Bereknyei
2021-09-08preloadNSS: load NSS before threads are startedArthur Gautier
preloadNSS is not thread-safe, this commit moves it before we start the first thread. Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-09-08Merge branch 'fix-3976' of https://github.com/mkenigs/nixEelco Dolstra
2021-09-08Merge pull request #5225 from ncfavier/patch-1Eelco Dolstra
Add missing include in util.cc
2021-09-08Add missing include in util.ccNaïm Favier
2021-09-08Merge pull request #5215 from ncfavier/patch-1Eelco Dolstra
Fix use-registries logic in builtins.getFlake
2021-09-07Merge pull request #4922 from nrdxp/default-submodulesShea Levy
libfetchers/git: fetch submodules by default
2021-09-06preloadNSS: fixup nss_dns loadArthur Gautier
Before this commit, the dns lookup in preloadNSS would still go through nscd. This did not have the effect of loading the nss_dns.so as expected (nss_dns.so being out of reach from within the sandbox). Should LOCALDOMAIN environment variable be defined, nss will completely avoid nscd and will do its dns resolution on its own. By temporarly setting LOCALDOMAIN variable before calling in NSS, we can force NSS to load the shared libraries as expected. Fixes #5089 Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-09-05Fix use-registries logic in builtins.getFlakeNaïm Favier
2021-09-02Add FIXMEEelco Dolstra
2021-09-02Don't use read-only mode for nix build --dry-runGeorges Dubus
In dry run mode, new derivations can't be create, so running the command on anything that has not been evaluated before results in an error message of the form `don't know how to build these paths (may be caused by read-only store access)`. For comparison, the classical `nix-build --dry-run` doesn't use read-only mode. Closes #1795 (cherry picked from commit 54525682df707742e58311c32e9c9cb18de1e31f)
2021-09-02parseInstallables(): Parse store paths as store pathsEelco Dolstra
If the store path contains a flake, this means that a command like "nix path-info /path" will show info about /path, not about the default output of the flake in /path. If you want the latter, you can explicitly ask for it by doing "nix path-info path:/path". Fixes #4568.
2021-09-02Failing test case for flake in storeStéphan Kochen
2021-09-02Merge pull request #5203 from NixOS/fix-invalid-lockfile-namesEelco Dolstra
Don’t create lockfiles with an invalid path name
2021-09-02Merge pull request #5204 from lucc/patch-1Eelco Dolstra
Docs: Fix syntax error in json example in man page
2021-09-02Docs: Fix syntax error in json example in man pageLucas Hoffmann
2021-09-02Don’t create lockfiles with an invalid path nameregnat
Store paths are only allowed to contain a limited subset of the alphabet, which doesn’t include `!`. So don’t create lockfiles that contain this `!` character as that would otherwise confuse (and break) the gc. Fix #5176
2021-09-02Merge pull request #5201 from abathur/fix_missing_install_test_cachixDomen Kožar
fix CI for users with no install-tests cachix
2021-09-02Merge pull request #5202 from abathur/sudo_diskutil2Domen Kožar
installer: fix addVolume perm issue for some users
2021-09-01install: fix addVolume perm issue for some usersTravis A. Everett
As reported in #5198, volume creation can fail with a permission error for some macOS users (probably secondary user accounts?) Sudo appears to be sufficient to avoid this. While I'm here, I also updated the sudo invocation added in 079bde2ae to use the _sudo explanation wrapper.