Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add a global variable ‘inNixShell’ | Eelco Dolstra | 2014-02-19 |
| | | | | | | | | | | This is primarily useful in Nix expressions that are also intended to be used by nix-shell. It allows saying things like: buildInputs = [ ... ] ++ (if inNixShell then [ emacs ] else [ ]); This should not be used in Nixpkgs (since the question of what constitutes a useful nix-shell environment is very subjective). | ||
* | Add a constant ‘nixpkgsVersion’ | Eelco Dolstra | 2014-02-19 |
| | | | | | | | | This makes it a bit easier to find out the current Nixpkgs version, e.g. $ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion "14.02.35657.66f51a9" | ||
* | Add some primops to lib | Eelco Dolstra | 2013-11-12 |
| | |||
* | Move pkgs/lib/ to lib/ | Eelco Dolstra | 2013-10-10 |