- Jan 13, 2007
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
info, sort attribute sets.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
<derivation outPath=... drvPath=...> attrs </derivation>. Only emit the attributes of any specific derivation only. This prevents exponententially large XML output due to the absense of sharing.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jan 11, 2007
-
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
-
- Jan 08, 2007
-
-
Eelco Dolstra authored
(currently 60%). Large patches aren't very economical.
-
Eelco Dolstra authored
-
- Dec 29, 2006
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Dec 15, 2006
-
-
Eelco Dolstra authored
-
- Dec 13, 2006
-
-
Eelco Dolstra authored
-
- Dec 12, 2006
-
-
Eelco Dolstra authored
from a source directory. All files for which a predicate function returns true are copied to the store. Typical example is to leave out the .svn directory: stdenv.mkDerivation { ... src = builtins.filterSource (path: baseNameOf (toString path) != ".svn") ./source-dir; # as opposed to # src = ./source-dir; } This is important because the .svn directory influences the hash in a rather unpredictable and variable way.
-
Eelco Dolstra authored
selectively in/excluded from the dump.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
single derivation specified by the argument. This is useful when we want to have a profile for a single derivation, such as a server configuration. Then we can just say (e.g.) $ nix-env -p /.../server-profile -f server.nix --set -A server We can't do queries or upgrades on such a profile, but we can do rollbacks. The advantage over -i is that we don't have to worry about other packages having been installed in the profile previously; --set gets rid of them.
-
Eelco Dolstra authored
names of the attributes in an attribute set.
-
- Dec 09, 2006
-
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
matters when running as root, since then we don't use the setuid helper (which already used lchown()). * Also check for an obscure security problem on platforms that don't have lchown. Then we can't change the ownership of symlinks, which doesn't matter *except* when the containing directory is writable by the owner (which is the case with the top-level Nix store directory).
-
Eelco Dolstra authored
-
- Dec 08, 2006
-
-
Eelco Dolstra authored
very carefully, since it can invalidate iterators into the `children' map.
-
Eelco Dolstra authored
* Throw more exceptions as BuildErrors instead of Errors. This matters when --keep-going is turned on. (A BuildError is caught and terminates the goal in question, an Error terminates the program.)
-
Eelco Dolstra authored
seconds without producing output on stdout or stderr (NIX-65). This timeout can be specified using the `--max-silent-time' option or the `build-max-silent-time' configuration setting. The default is infinity (0). * Fix a tricky race condition: if we kill the build user before the child has done its setuid() to the build user uid, then it won't be killed, and we'll potentially lock up in pid.wait(). So also send a conventional kill to the child.
-
Eelco Dolstra authored
in case of failure.
-
- Dec 07, 2006
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
back to the Nix account.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
since if we're running a build user in non-root mode, we can't. Let the setuid helper do it.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
processes before and after the build.
-
Eelco Dolstra authored
ownership, then try again.
-
Eelco Dolstra authored
ownership of the build result after the build.
-
Eelco Dolstra authored
deleting them using the setuid helper.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
builder under the desired build user.
-