Daiderd Jordan
63dfbc93d5
installer: include channels in bootstrap NIX_PATH
2018-10-26 17:47:45 +01:00
Daiderd Jordan
79d356909b
installer: don't use pure PATH for editor
...
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-10-26 09:10:28 +01:00
Daiderd Jordan
75add386d3
installer: prefer nix from default profile
...
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-09-14 22:29:08 +02:00
Daiderd Jordan
a893723b95
activation: fix missing /sbin entries in PATH
2018-08-01 21:08:13 +02:00
Kirill Elagin
45f0e832cd
fixup! installer and activation: Sanitise PATH
2018-06-29 19:05:57 +03:00
Kirill Elagin
26bab2fd32
installer and activation: Sanitise PATH
...
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 18:51:41 +03:00
Kirill Elagin
2fec230ccc
installer: Bring our own nix-instantiate
2018-06-29 15:15:35 +03:00
Daiderd Jordan
49b899dd97
installer: make configuration writable
...
If the installer is built from a channel or url the example is copied
from the store and won't have write permissions.
2018-04-14 00:28:11 +02:00
Daiderd Jordan
6f1c1049dd
installer: fallback to a default editor
2018-01-24 22:37:40 +01:00
Daiderd Jordan
c2728318fb
installer: add post check
2018-01-17 21:31:47 +01:00
Daiderd Jordan
64a46b7164
uninstaller: add header
2018-01-16 00:58:13 +01:00
Daiderd Jordan
02725e220a
installer: fix editor check
2018-01-16 00:58:12 +01:00
Daiderd Jordan
ac238d0323
installer: ask to edit configuration before installing
...
This is skipped when stdin is not a tty, unlike the other interactive
parts that look at stdout.
2018-01-14 19:08:02 +01:00
Daiderd Jordan
9dd2d679cb
installer: add --check flag
2018-01-13 23:33:27 +01:00
Daiderd Jordan
32481b542b
installer: init
2018-01-13 23:33:27 +01:00