| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-21 | installer: remove | Michael Hoang | |
| 2024-11-21 | installer: move channel creation to README | Michael Hoang | |
| 2024-11-21 | installer: move creating default configuration to README | Michael Hoang | |
| 2024-11-16 | nix-daemon: enable by default | Michael Hoang | |
| Single user installs have been unsupported by the official Nix installer since 2.4. | |||
| 2024-11-09 | installer: don't tell users to source bashrc | Michael Hoang | |
| Fixes #380 | |||
| 2024-10-27 | tests: fix negative asserts with `grep` not working | Michael Hoang | |
| Using `grep -v` without `-z` will return 0 even if there is a match found as all the non-matching lines will be matched. Instead of using `grep -vqz`, `(! grep ...)` is more readable. The brackets are necessary as `! grep` will not trigger `set -e`[0], so we run it inside a subshell to use its non-zero exit code. [0]: https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#The-Set-Builtin | |||
| 2023-08-13 | Update pkgs/darwin-installer/default.nix | Arvin Sevilla | |
| Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com> | |||
| 2023-08-13 | chore(installer): capitalize the default option when reading user input | Arvin Sevilla | |
| 2023-07-11 | installer: match flaky installation logic | Michael Hoang | |
| 2023-07-11 | Allow flaky installation with `darwin-rebuild` | Michael Hoang | |
| 2023-06-09 | darwin-installer: fix `/run` not getting created | Michael Hoang | |
| 2022-08-16 | Add .nix-defexpr to NIX_PATH the way the NixOS module does | Malo Bourgon | |
| 2022-08-16 | Move build user options to `nix` module to improve overlap with NixOS | Malo Bourgon | |
| Also add `config.ids` like in NixOS. | |||
| 2022-01-11 | move installer into a separate file | Domen Kožar | |
| 2021-12-21 | fix dependence on apfs.util exit code | Travis A. Everett | |
| apfs.util (or at least it's newer -t flag) has bad exit code semantics and will return non-zero codes for both success and errors. Closes #401 and most-likely fixes #378 as well | |||
| 2021-02-23 | darwin-[un]installer: Don't reference deprecated stdenv.lib | Mario Rodas | |
| `stdenv.lib` has been deprecated, and the correct approach is to use `lib` directly through `pkgs.lib`. | |||
| 2020-12-22 | installer: silence apfs.util output | Daiderd Jordan | |
| Passing incorrect flags prints help output to stdout so silence everything. Fixes #264 | |||
| 2020-12-21 | installer: move channel setup out of activation | Daiderd Jordan | |
| Fixes #234 | |||
| 2020-12-19 | installer: remove profile step | Daiderd Jordan | |
| 2020-12-18 | installer: extend test with shell environment checks | Daiderd Jordan | |
| 2020-12-18 | installer: ensure /etc/static runs last | Daiderd Jordan | |
| In the case that nix-darwin was installed for a single user installation and later nix gets reinstalled with the daemon it's possible that nix-daemon.sh loads afterwards, resulting in unexpected behaviour. | |||
| 2020-11-15 | installer: handle apfs.util on macOS 11.0 Big Sur | Daiderd Jordan | |
| The flages of apfs.util changed in 11.0 so try both cases. Fixes #249 | |||
| 2020-08-26 | Merge pull request #215 from basvandijk/installer-correct-referencees | Daiderd Jordan | |
| darwin-[un]installer: make sure all dependencies are part of the closure | |||
| 2020-08-26 | Fix typo | Alexandre Esteves | |
| 2020-08-21 | darwin-[un]installer: make sure all dependencies are part of the closure | Bas van Dijk | |
| This makes sure the `darwin-installer` and `darwin-uninstaller` packages can be nix copied to any target and reliably be executed there. | |||
| 2020-06-17 | darwin-installer: configure zsh | Daiderd Jordan | |
| 2020-05-17 | Only enable `services.nix-daemon` when no config is present upon install | James Ottaway | |
| 2020-03-28 | installer: try creating /run using synthetic.conf | Daiderd Jordan | |
| Since macOS 10.15 Catalina / can't be changed directly anymore. Fixes #166 | |||
| 2019-12-14 | darwin-installer: add missing shebang | Daiderd Jordan | |
| Unclear in which conditions this does or doesn't work but using a shebang is best practice and ensures an ancient version of bash isn't used. Fixes #179 | |||
| 2019-07-01 | installer: detect multi-user install | Daiderd Jordan | |
| 2019-06-25 | darwin-installer: use --show-trace | Domen Kožar | |
| This saved me some debugging | |||
| 2019-02-21 | users: increase default nixbld users to 32 and set knownUsers by default | Daiderd Jordan | |
| Since the users.nix.configureBuildUsers target nixbld users, don't require them to be added to knownUsers explicitly. | |||
| 2018-10-27 | Revert "installer: add NIX_PATH fallback in <darwin> lookup" | Daiderd Jordan | |
| This reverts commit 06f8d83f601a0e6a02fd3b1b584c90e2af1d5e4f. | |||
| 2018-10-26 | installer: include channels in bootstrap NIX_PATH | Daiderd Jordan | |
| 2018-10-26 | installer: add NIX_PATH fallback in <darwin> lookup | Daiderd Jordan | |
| The nix.nixPath option doesn't include everything, some paths are added dynamically now. | |||
| 2018-10-26 | installer: don't use pure PATH for editor | Daiderd Jordan | |
| For the rest of the installer we want to make sure nothing installed by the user interferes, however a user's editor might be installed anywhere. | |||
| 2018-09-14 | installer: prefer nix from default profile | Daiderd Jordan | |
| Using a nix 2.1 nix-channel/nix-env with a 2.0 nix-daemon doesn't work because the buildenv implementation was moved to the daemon. This means the nix version of the target darwin system can't be used because the daemon isn't upgraded yet. error: unsupported builtin function 'buildenv' | |||
| 2018-08-01 | activation: fix missing /sbin entries in PATH | Daiderd Jordan | |
| 2018-06-29 | fixup! installer and activation: Sanitise PATH | Kirill Elagin | |
| 2018-06-29 | installer and activation: Sanitise PATH | Kirill Elagin | |
| This makes sure that the installation and activation processes are “pure”, i.e. they use only binaries from nixpkgs or ones that come with macOS. Closes #86. | |||
| 2018-06-29 | installer: Bring our own `nix-instantiate` | Kirill Elagin | |
| 2018-04-14 | installer: make configuration writable | Daiderd Jordan | |
| If the installer is built from a channel or url the example is copied from the store and won't have write permissions. | |||
| 2018-01-24 | installer: fallback to a default editor | Daiderd Jordan | |
| 2018-01-17 | installer: add post check | Daiderd Jordan | |
| 2018-01-16 | uninstaller: add header | Daiderd Jordan | |
| 2018-01-16 | installer: fix editor check | Daiderd Jordan | |
| 2018-01-14 | installer: ask to edit configuration before installing | Daiderd Jordan | |
| This is skipped when stdin is not a tty, unlike the other interactive parts that look at stdout. | |||
| 2018-01-14 | installer: configure build users | Daiderd Jordan | |
| 2018-01-14 | installer: move /run creation | Daiderd Jordan | |
| 2018-01-14 | installer: fix patch | Daiderd Jordan | |
