Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-02 | Remove `HashType::Unknown` | John Ericson | |
Instead, `Hash` uses `std::optional<HashType>`. In the future, we may also make `Hash` itself require a known hash type, encoraging people to use `std::optional<Hash>` instead. | |||
2020-05-28 | Fixing the result of merge | Carlo Nucera | |
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-28 | Merge pull request #3631 from andir/libutil-config-tests | Eelco Dolstra | |
Add unit tests for config.cc | |||
2020-05-28 | Merge pull request #3455 from Ericson2314/enum-FileIngestionMethod | Eelco Dolstra | |
Replace some `bool recursive` with a new `FileIngestionMethod` enum | |||
2020-05-28 | Merge pull request #3632 from LnL7/darwin-xz | Eelco Dolstra | |
installer: don't require xz on darwin | |||
2020-05-27 | Use `FileIngestionMethod` for `nix hash` | John Ericson | |
There was an enum there that matched in perfectly. | |||
2020-05-27 | installer: don't require xz on darwin | Daiderd Jordan | |
On macOS the system tar has builtin support for lzma while xz isn't available as a separate binary. There's no builtin package manager there available either so having to install lzma (without nix) would be rather painful. | |||
2020-05-27 | Rename some variables named “recursive” to “method” | Matthew Bauer | |
This is much less confusing since recursive is no longer a boolean. | |||
2020-05-27 | Don’t use FileIngestionMethod for StorePathsCommand | Matthew Bauer | |
This is a different recursive than used in makeFixedOutputPath. | |||
2020-05-27 | config.hh: Add documentation | Andreas Rammhold | |
Provides some general overview on the mechanics of Config/Setting and comments for the public methods of Config. | |||
2020-05-27 | tests/config.cc: add tests for Config::applyConfig | Andreas Rammhold | |
2020-05-27 | config.cc: extract parts of applyConfigFile into applyConfig | Andreas Rammhold | |
This moves the actual parsing of configuration contents into applyConfig which applyConfigFile is then going to call. By changing this we can now test the configuration file parsing without actually create a file on disk. | |||
2020-05-27 | Add unit tests for config.cc | Andreas Rammhold | |
2020-05-27 | Merge pull request #3608 from surajbarkale/patch-1 | Eelco Dolstra | |
Use /etc/zshenv instead of /etc/zshrc for profile | |||
2020-05-27 | Merge pull request #3621 from gilligan/add-json-tests | Eelco Dolstra | |
Add unit tests for "json.hh" | |||
2020-05-27 | Merge pull request #3625 from gilligan/xml-writer-tests | Eelco Dolstra | |
Add unit tests for xml-writer | |||
2020-05-27 | Merge pull request #3620 from gilligan/hash-tests | Eelco Dolstra | |
Add unit tests for hashing functions | |||
2020-05-26 | Change remaining bools with FileIngestionMethod | Carlo Nucera | |
2020-05-26 | Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod | Carlo Nucera | |
2020-05-26 | installer: fix unused variable | Domen Kožar | |
2020-05-26 | Fix installer script bugs | Domen Kožar | |
- --no-channel-add didn't have effect on multi-user installation - some new flags didn't work at all - document all installer flags | |||
2020-05-25 | Add unit tests for xml-writer | Tobias Pflug | |
2020-05-25 | Merge pull request #3375 from domenkozar/multi-user-count | Domen Kožar | |
install-multi-user: allow overriding user count | |||
2020-05-25 | Merge pull request #3623 from domenkozar/installer-pass-nix-conf | Domen Kožar | |
Allow passing extra nix.conf to installer | |||
2020-05-25 | Allow passing extra nix.conf to installer | Domen Kožar | |
2020-05-25 | install-multi-user: allow overriding user count | Domen Kožar | |
2020-05-25 | Add unit tests for "json.hh" | Tobias Pflug | |
2020-05-25 | Add unit tests for hashing functions | Tobias Pflug | |
2020-05-23 | Merge pull request #3611 from nomeata/joachim/nix-env-man | Domen Kožar | |
Manpages: Do not refer to nixpkgs-channels | |||
2020-05-23 | Merge pull request #3610 from LnL7/hydra-build-products | Domen Kožar | |
fix hydra build products | |||
2020-05-23 | Manpages: Do not refer to nixpkgs-channels | Joachim Breitner | |
Unless I am misinformed, using the `nixpkgs` repository directly is now preferred? | |||
2020-05-23 | fix hydra build products | Daiderd Jordan | |
Since the binary tarball was replaced none of the hydra builds include the manual. The dist phase isn't enabled by default the manual build products where not written. | |||
2020-05-23 | Merge pull request #3212 from LnL7/darwin-10.15-install | Domen Kožar | |
install: configure and bootstrap synthetic.conf on darwin | |||
2020-05-23 | scripts/create-darwin-volume.sh: remove unused variable | Domen Kožar | |
2020-05-22 | Merge pull request #3606 from tweag/unquoted-urls | Eelco Dolstra | |
documentation: avoid unquoted URLs | |||
2020-05-22 | Use /etc/zshenv instead of /etc/zshrc for profile | Suraj Barkale | |
As noted in https://github.com/NixOS/nix/issues/3456 the `/etc/zshenv` file provides a better place for sourcing the nix environment. | |||
2020-05-21 | installer: don't clobber synthetic.conf | Daiderd Jordan | |
2020-05-21 | focus on golden-path covering most scenarios | Travis A. Everett | |
This should handle installation scenarios we can handle with anything resembling confidence. Goal is approximating the existing setup--not enforcing a best-practice... Approaches (+ installer-handled, - manual) and configs each covers: + no change needed; /nix OK on boot volume: All pre-Catalina (regardless of T2 or FileVault use) + create new unencrypted volume: Catalina, pre-T2, no FileVault + create new encrypted-at-rest volume: Catalina, pre-T2, FileVault Catalina, T2, no FileVault - require user to pre-create encrypted volume Catalina, T2, FileVault | |||
2020-05-21 | installer: refuse apfs volume creation when FileVault is enabled | Daiderd Jordan | |
2020-05-21 | manual: clarify volume creation section | Daiderd Jordan | |
2020-05-21 | install: make synthetic.conf and fstab checks stricter | Daiderd Jordan | |
2020-05-21 | install: improve output and error handling | Daiderd Jordan | |
2020-05-21 | install: hide the store volume on darwin | Daiderd Jordan | |
2020-05-21 | manual: add apfs volume section | Daiderd Jordan | |
2020-05-21 | install: show macOS 10.15 message with --daemon | Daiderd Jordan | |
2020-05-21 | install: also configure ~/.zshenv | Daiderd Jordan | |
The default login shell for users on macOS 10.15 changed from bash to zsh. So while generally nonstandard we need to configure it to make nix function out of the box on macOS. | |||
2020-05-21 | install: configure and bootstrap synthetic.conf on darwin | Daiderd Jordan | |
Starting macOS 10.15 /nix can't be creasted directly anymore due to the readonly filesystem, but synthetic.conf was introduced to enable creating mountpoints or symlinks for special usecases like package managers. | |||
2020-05-21 | documentation: avoid unquoted URLs | Krzysztof Gogolewski | |
2020-05-20 | Merge pull request #3603 from gilligan/url-tests | Eelco Dolstra | |
Add unit testes for url.cc |