- Oct 31, 2004
-
-
Eelco Dolstra authored
dangling.
-
- Oct 29, 2004
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 27, 2004
-
-
Eelco Dolstra authored
* Don't use local file names in tests since they will produce different parse trees depending on the current directory.
-
Eelco Dolstra authored
regexp there could be only one such comment per file.
-
Eelco Dolstra authored
* Add automated Nix expression language tests.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 26, 2004
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
- Oct 25, 2004
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
svn-revision to distributions, which should fix it.
-
Eelco Dolstra authored
-
- Oct 21, 2004
-
-
Eelco Dolstra authored
-
- Oct 20, 2004
-
-
Eelco Dolstra authored
$(localstatedir)/nix/gcroots/channels). * In setuid installations, create gcroots/tmp and gcroots/channels group-writable.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 18, 2004
-
-
Eelco Dolstra authored
edit the manual, you should have something like (modify-coding-system-alist 'file "\\.xml\\>" 'utf-8) in your ~/.emacs.
-
- Oct 14, 2004
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
sensitivity.
-
Eelco Dolstra authored
chapter on writing Nix expressions.
-
Eelco Dolstra authored
-
- Oct 13, 2004
-
-
Eelco Dolstra authored
downloading Nix expressions and calling nix-pull. This is so user-friendly that even a Mac user can do it! :-)
-
Eelco Dolstra authored
* Set notes in a different color than warnings.
-
- Sep 22, 2004
-
-
Eelco Dolstra authored
-
- Sep 19, 2004
-
-
Niels Janssen authored
-
- Sep 12, 2004
-
-
Eelco Dolstra authored
derivation, since NormalisationGoal would first run a NormalisationGoal on the subderivation (a no-op, since in a situation where we need fallback the successor is known), and then runs a RealisationGoal on the normal form, which then cannot do a fallback because it doesn't know the derivation expression for which it is a normal form. Tossed out the 2-phase normalisation/realisation in NormalisationGoal and SubstitutionGoal since it's no longer needed - a RealisationGoal will run a NormalisationGoal if necessary.
-
- Sep 10, 2004
-
-
Eelco Dolstra authored
profile. Arguments are either generation number, or `old' to delete all non-current generations. Typical use: $ nix-env --delete-generations old $ nix-collect-garbage * istringstream -> string2Int.
-
- Sep 09, 2004
-
-
Eelco Dolstra authored
added to the store. Bug reported by Martin.
-
Eelco Dolstra authored
Previously there was the problem that all files read by nix-env etc. should be reachable and readable by the Nix user. So for instance building a Nix expression in your home directory meant that the home directory should have at least g+x or o+x permission so that the Nix user could reach the Nix expression. Now we just switch back to the original user just prior to reading sources and the like. The places where this happens are somewhat arbitrary, however. Any scope that has a live SwitchToOriginalUser object in it is executed as the original user. * Back out r1385. setreuid() sets the saved uid to the new real/effective uid, which prevents us from switching back to the original uid. setresuid() doesn't have this problem (although the manpage has a bug: specifying -1 for the saved uid doesn't leave it unchanged; an explicit value must be specified).
-
Eelco Dolstra authored
more common than the latter (which exists only on Linux and FreeBSD). We don't really care about dropping the saved IDs since there apparently is no way to quiry them in any case, so it can't influence the build (unlike the effective IDs which are checked by Perl for instance).
-
Eelco Dolstra authored
setuid installation, since the calling user may have a more fascist umask (say, 0077), which would cause the store objects built by Nix to be unreadable to anyone other than the Nix user.
-
- Sep 08, 2004
-
-
Eelco Dolstra authored
-
- Sep 06, 2004
-
-
Eelco Dolstra authored
pre-install script. By default this is turned off; you should edit the spec file to enable it.
-