Eelco Dolstra
b8aaef5e4e
* Documented the standard environment, including the generic builder.
2004-11-07 22:12:16 +00:00
Eelco Dolstra
2c3b29c5ca
* Everything you always wanted to know about functions and derivations
...
but were afraid to ask.
2004-11-07 20:36:45 +00:00
Eelco Dolstra
ea6581b691
* Drop the grammar appendix.
2004-11-07 20:36:10 +00:00
Eelco Dolstra
09e7f06818
* Put something in here.
2004-11-07 20:30:02 +00:00
Eelco Dolstra
1bac7a10e6
* Operators, comments.
2004-11-07 18:58:49 +00:00
Eelco Dolstra
55b35d6d77
* Lets, inheritance, assertions.
2004-11-07 13:53:07 +00:00
Eelco Dolstra
0b1ee4802b
* Typo fix.
2004-11-05 21:12:23 +00:00
Eelco Dolstra
5f0300d18c
* Generic builders.
2004-11-05 21:11:01 +00:00
Eelco Dolstra
3e9d2038b4
* Start of language reference.
2004-11-05 15:39:30 +00:00
Eelco Dolstra
6ca9c7f0a9
* Finished GNU Hello walkthrough.
2004-11-05 13:10:08 +00:00
Eelco Dolstra
8b934694f2
* Manual: writing Nix expressions.
2004-11-04 20:21:08 +00:00
Eelco Dolstra
feb3ceaee0
* Better error messages.
2004-11-04 20:20:39 +00:00
Eelco Dolstra
cb7ccb528b
* string2ATerm -> overloaded toATerm.
2004-11-03 18:12:03 +00:00
Eelco Dolstra
4cbd845aa4
* Don't propagate our CFLAGS to the ATerm library since it breaks at
...
-O2.
2004-11-03 16:51:09 +00:00
Eelco Dolstra
5f2c5a306c
* chapter -> appendix.
2004-11-02 08:25:29 +00:00
Eelco Dolstra
0913f5a615
* Section about channels.
2004-11-01 16:21:37 +00:00
Eelco Dolstra
ee5dcfade2
* Section about garbage collection.
2004-11-01 16:03:35 +00:00
Eelco Dolstra
cbe8de592d
* Profiles section.
2004-11-01 12:02:44 +00:00
Eelco Dolstra
b05a596d61
* Document setuid Nix installs.
2004-10-31 17:08:48 +00:00
Eelco Dolstra
0d80d237c5
* Add figures to make install' /
make dist'.
2004-10-31 16:13:25 +00:00
Eelco Dolstra
2aa1f4717b
* Fix File exists' errors if the
result' symlink exists but is
...
dangling.
2004-10-31 12:01:16 +00:00
Eelco Dolstra
f8ac8d1ec8
* Began adding build farm docs.
2004-10-29 15:26:26 +00:00
Eelco Dolstra
a69534fc21
* Drop ATmake / ATMatcher also in handling store expressions.
2004-10-29 11:22:49 +00:00
Eelco Dolstra
ed09821859
* Use atdiff' instead of
cmp' for checking test output.
...
* Don't use local file names in tests since they will produce
different parse trees depending on the current directory.
2004-10-27 13:12:58 +00:00
Eelco Dolstra
3277c9432a
* Bug fix in parsing of /* ... */ comments; due to longest match
...
regexp there could be only one such comment per file.
2004-10-27 13:00:31 +00:00
Eelco Dolstra
463e2817c5
* Remove ancient Fix tests.
...
* Add automated Nix expression language tests.
2004-10-27 12:41:53 +00:00
Eelco Dolstra
f09618b63a
* Turn on read-only mode in queries. This prevents redundant store I/O.
2004-10-27 10:24:44 +00:00
Eelco Dolstra
c7bea941b0
* Oops, I did it again.
2004-10-27 10:05:51 +00:00
Eelco Dolstra
210ab0296d
* Add file to `make dist'.
2004-10-27 00:02:31 +00:00
Eelco Dolstra
c52dda95a6
* Bug: check that term is an application.
2004-10-26 23:30:18 +00:00
Eelco Dolstra
5fe9222b36
* Don't use ATmake / ATmatch anymore, nor the ATMatcher class.
...
Instead we generate data bindings (build and match functions) for
the constructors specified in `constructors.def'. In particular
this removes the conversions between AFuns and strings, and Nix
expression evaluation now seems 3 to 4 times faster.
2004-10-26 22:54:26 +00:00
Eelco Dolstra
eb8284ddaa
* Evaluate argument to `import'.
2004-10-26 17:10:09 +00:00
Eelco Dolstra
033d7c6593
* Doh!
2004-10-26 17:04:55 +00:00
Eelco Dolstra
9fa07b376d
* String/path concatenation operator (`+').
2004-10-26 17:01:35 +00:00
Eelco Dolstra
ee401afad8
* Mode --parse-only' to parse the input (on stdin,
-'), and print
...
out the AST as an ATerm.
* Mode `--eval-only' to parse and evaluate the input, and print the
resulting normal form as an ATerm.
Neither of these modes require store/DB write permission.
2004-10-26 16:59:36 +00:00
Eelco Dolstra
37d7abd694
* New language feature: with expressions.
...
The expression `with E1; E2' evaluates to E2 with all bindings in
the attribute set E1 substituted. E.g.,
with {x = 123;}; x
evaluates to 123. That is, the attribute set E1 is in scope in E2.
This is particularly useful when importing files containing lots
definitions. E.g., instead of
let {
inherit (import ./foo.nix) a b c d e f;
body = ... a ... f ...;
}
we can now say
with import ./foo.nix;
... a ... f ...
I.e., we don't have to say what variables should be brought into scope.
2004-10-25 16:54:56 +00:00
Eelco Dolstra
f4d44a0026
* Allow certain operations to succeed even if we don't have write
...
permission to the Nix store or database. E.g., `nix-env -qa' will
work, but `nix-env -qas' won't (the latter needs DB access). The
option `--readonly-mode' forces this mode; otherwise, it's only
activated when the database cannot be opened.
2004-10-25 14:38:23 +00:00
Eelco Dolstra
3ade3e7721
* Revert r1594 - it didn't solve the problem. Instead add
...
svn-revision to distributions, which should fix it.
2004-10-25 13:51:34 +00:00
Eelco Dolstra
2248becfd3
* Make sure that the prerelease version is included in `--version'.
2004-10-25 12:15:50 +00:00
Eelco Dolstra
50b9caac14
* Updated NEWS for the upcoming 0.6 release.
2004-10-21 09:22:16 +00:00
Eelco Dolstra
2155c0a673
* Register channels as roots of the garbage collector (in
...
$(localstatedir)/nix/gcroots/channels).
* In setuid installations, create gcroots/tmp and gcroots/channels
group-writable.
2004-10-20 14:42:38 +00:00
Eelco Dolstra
88888160d2
* Fix nix-prefetch-url in setuid Nix installations.
2004-10-20 14:40:54 +00:00
Eelco Dolstra
99da51d4de
* Show error messages from curl.
2004-10-20 14:05:48 +00:00
Eelco Dolstra
2cd590d96c
* Instead of — use the actual Unicode character. By the way, to
...
edit the manual, you should have something like
(modify-coding-system-alist 'file "\\.xml\\>" 'utf-8)
in your ~/.emacs.
2004-10-18 12:22:14 +00:00
Eelco Dolstra
692204e0c5
* Rewrite of package management stuff.
2004-10-14 16:43:09 +00:00
Eelco Dolstra
d830b2c1df
* In `nix-env -q', sort derivations by name *without* case
...
sensitivity.
2004-10-14 15:09:55 +00:00
Eelco Dolstra
febd8bed1b
* Split overview chapter into a chapter on package management and a
...
chapter on writing Nix expressions.
2004-10-14 11:55:12 +00:00
Eelco Dolstra
98c69e5172
* Unindent.
2004-10-14 11:54:41 +00:00
Eelco Dolstra
371c57d8a7
* Updated the quick start section. Use channels instead of
...
downloading Nix expressions and calling nix-pull. This is so
user-friendly that even a Mac user can do it! :-)
2004-10-13 15:35:47 +00:00
Eelco Dolstra
2b20701f78
* Better introduction.
...
* Set notes in a different color than warnings.
2004-10-13 15:08:35 +00:00