summary refs log tree commit diff
path: root/corepkgs/buildenv
AgeCommit message (Collapse)Author
2010-08-04* Allow derivations to hint that they should not be built remotelyEelco Dolstra
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 Dolstra
2010-05-05buildenv: Special-case Python's `site.py' and `site.pyc'.Ludovic Courtès
* corepkgs/buildenv/builder.pl.in (createLinks): Skip `site.py' and `site.pyc' files.
2010-05-03buildenv: Special-case Python's `easy-install.pth' files.Ludovic Courtès
* 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 Dolstra
$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 Dolstra
collision.
2007-04-27* Package conflict resolution through priority levels. If there is aEelco Dolstra
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 Dolstra
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 Dolstra
for packages that should be propagated to the user environment.
2006-09-25* Propagated packages now have lower priority; they are symlinkedEelco Dolstra
*after* the packages that have been explicitly installed, and collisions are ignored.
2006-08-22* Revert unintentional commit.Eelco Dolstra
2006-08-16* `nix-instantiate --{eval|parse}-only --xml': print an XMLEelco Dolstra
representation instead of an ATerm. * Indent XML output.
2006-05-12* Support for srcdir != builddir (NIX-41).Eelco Dolstra
2005-07-22* Adhockery.Eelco Dolstra
2005-03-07* Automatically add propagated build inputs to user environments.Eelco Dolstra
Maybe this is a bad idea.
2004-10-25* New language feature: with expressions.Eelco Dolstra
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 Janssen
2004-04-06* Make the creation of user environments much faster and more storageEelco Dolstra
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 Dolstra
2004-02-04* Fixed the old envpkgs filename.Eelco Dolstra
2003-12-30* RPM spec file.Eelco Dolstra
* Respect DESTDIR variable.
2003-11-22* Don't use a hard-coded path.Eelco Dolstra
2003-11-19* nix-env: a tool to manage user environments.Eelco Dolstra
* Replace all directory reading code by a generic readDirectory() function.