forked from target/lorri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.nix
121 lines (103 loc) · 3.68 KB
/
release.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{ src }:
{
package = import ./default.nix { inherit src; };
changelog = {
# Find the current version number with `git log --pretty=%h | wc -l`
entries = [
{
version = 309;
changes = ''
- The deprecated `lorri shell` command was removed.
- Fix problem with non-UTF8 build output, arbitrary bytes are now fine.
- Add `--shell-file` option to `info`, `watch` and `direnv`.
- `daemon`:
- Panic when any thread panics.
Before the daemon would just hang doing nothing.
- `direnv`:
- Print info messages when daemon is not running
and/or project has not yet been evaluated.
- Take `PWD`, `OLDPWD` and `SHELL` from user environment
instead of shell file context.
- Set `IN_NIX_SHELL` to `impure`.
- Fixes SSL certificates being set to bogus path.
- `watch`:
- Add `--once` option to exit after one build.
- Watcher logic:
- Emulate Nix’s `default.nix` behaviour instead of watching
the parent directory recursively.
- Build logic:
- Split `nix-instantiate` and `nix-build`, to provide
fine-grained status events.
'';
}
{
version = 223;
changes = ''
- Running lorri on a project where the nix-shell dependencies
are already cached (e.g. by running `nix-shell` directly before)
is a completely local operation now (no binary cache is queried).
- `lorri build` was a no-op, so it was removed
'';
}
{
version = 171;
changes = ''
gc_root dirs move from `~/.cache/lorri` to `~/.cache/lorri/gc_roots`.
You can delete every file in `~/.cache/lorri`.
'';
}
{
version = 132;
changes = ''
Version #130 claimed to add Go support through GOPATH and
the appended environment variables, however this wasn't
true.
This version does, actually, do that.
We also fixed a bug where appended environment variables
would include a leading delimiter even if it wasn't
previously set.
'';
}
{
version = 130;
changes = ''
`lorri watch` now supports executing shellHooks.
- shellHooks run inside `lorri watch`, and not in `direnv`
This means they will execute only once, while inside the
build sandbox.
shellHooks are not to be used for starting services or
printing text to the CLI, as these actions will not
execute when the shell is entered.
- Environment variables which are appended to the
environment with Nixpkgs'
addToSearchPathWithCustomDelimiter function will
automatically be appended to the user's environment when
entering the lorri shell.
Notably, this means Go support.
Many functions in Nixpkgs use
addtoSearchPathWithCustomDelimiter, including:
- addToSearchPath
- addPythonPath
- R libraries
among others.
Overall, this should allow a much more "nix-shell"-like
experience.
'';
}
{
version = 129;
changes = ''
`lorri watch` now supports Vim's method of writing to files.
Previously, the watch behavior would support a maximum of
three reloads (#66).
'';
}
{
version = 59;
changes = ''
New: self-upgrade command.
'';
}
];
};
}