about summary refs log tree commit diff
path: root/corepkgs/buildenv
AgeCommit message (Collapse)AuthorFilesLines
2010-08-04 * Allow derivations to hint that they should not be built remotelyEelco Dolstra1-0/+4
using the build hook mechanism, by setting the derivation attribute "preferLocalBuild" to true. This has a few use cases: - The user environment builder. Since it just creates a bunch of symlinks without much computation, there is no reason to do it remotely. In fact, doing it remotely requires the entire closure of the user environment to be copied to the remote machine, which is extremely wasteful. - `fetchurl'. Performing the download on a remote machine and then copying it to the local machine involves twice as much network traffic as performing the download locally, and doesn't save any CPU cycles on the local machine.
2010-05-07 * Sync with the trunk.Eelco Dolstra1-1/+9
2010-05-05 buildenv: Special-case Python's `site.py' and `site.pyc'.Ludovic Courtès1-0/+2
* corepkgs/buildenv/builder.pl.in (createLinks): Skip `site.py' and `site.pyc' files.
2010-05-03 buildenv: Special-case Python's `easy-install.pth' files.Ludovic Courtès1-1/+7
* corepkgs/buildenv/builder.pl.in (createLinks): Skip `easy-install.pth' files. Comment the hack.
2010-04-21 * Store user environment manifests as a Nix expression inEelco Dolstra1-1/+1
$out/manifest.nix rather than as an ATerm. (Hm, I thought I committed this two days ago...)
2007-05-02 * Set the right priorities when recovering from a directoryEelco Dolstra1-1/+1
collision.
2007-04-27 * Package conflict resolution through priority levels. If there is aEelco Dolstra2-19/+45
user environment collission between two packages due to overlapping file names, then a package with a higher priority will overwrite the symlinks of a package with a lower priority. E.g., $ nix-env --set-flag priority 5 gcc $ nix-env --set-flag priority 10 binutils gives gcc a higher priority than binutils (higher number = lower priority).
2007-04-27 * Allow conflicting packages to be kept in a user environment, andEelco Dolstra2-3/+11
allow switching between them (NIX-80). Example: two versions of Pan: $ nix-env -q pan pan-0.128 pan-0.14.2.91 $ readlink $(which pan) /nix/store/l38jrbilw269drpjkx7kinhrxj6fjh59-pan-0.14.2.91/bin/pan At most one of them can be active any given time. Assuming than 0.14.2.91 is active, you can active 0.128 as follows: $ nix-env --set-flag active false pan-0.14.2.91 $ nix-env --set-flag active true pan-0.128 $ readlink $(which pan) /nix/store/nziqwnlzy7xl385kglxhg75pfl5i936n-pan-0.128/bin/pan More flags to follow.
2006-09-25 * Use "propagated-user-env-packages", not "propagated-build-inputs"Eelco Dolstra1-1/+1
for packages that should be propagated to the user environment.
2006-09-25 * Propagated packages now have lower priority; they are symlinkedEelco Dolstra1-14/+39
*after* the packages that have been explicitly installed, and collisions are ignored.
2006-08-22 * Revert unintentional commit.Eelco Dolstra1-1/+1
2006-08-16 * `nix-instantiate --{eval|parse}-only --xml': print an XMLEelco Dolstra1-1/+1
representation instead of an ATerm. * Indent XML output.
2006-05-12 * Support for srcdir != builddir (NIX-41).Eelco Dolstra1-1/+1
2005-07-22 * Adhockery.Eelco Dolstra1-0/+1
2005-03-07 * Automatically add propagated build inputs to user environments.Eelco Dolstra1-1/+15
Maybe this is a bad idea.
2004-10-25 * New language feature: with expressions.Eelco Dolstra1-1/+1
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-09-19 * prevent collision on log directoryNiels Janssen1-1/+2
2004-04-06 * Make the creation of user environments much faster and more storageEelco Dolstra1-45/+66
efficient by creating only a single symlink to entire directory trees unless a collission occurs.
2004-03-15 * Make perl a dependency of Nix.Eelco Dolstra2-2/+4
2004-02-04 * Fixed the old envpkgs filename.Eelco Dolstra1-1/+1
2003-12-30 * RPM spec file.Eelco Dolstra1-4/+4
* Respect DESTDIR variable.
2003-11-22 * Don't use a hard-coded path.Eelco Dolstra1-0/+9
2003-11-19 * nix-env: a tool to manage user environments.Eelco Dolstra2-0/+81
* Replace all directory reading code by a generic readDirectory() function.