diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-19 19:00:51 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-19 19:03:16 +0100 |
commit | 4a91cfd32b44fede17f135b47ff0f035652f203e (patch) | |
tree | 80bb3b0c8c94afaf1caac2d181972fdf35e15167 /pkgs/development/libraries/audio | |
parent | 484403bf0e229f857cafb67ec2e516ed7dfdc2d2 (diff) | |
download | nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar.gz nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar.bz2 nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar.lz nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar.xz nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.tar.zst nixlib-4a91cfd32b44fede17f135b47ff0f035652f203e.zip |
Add a global variable ‘inNixShell’
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).
Diffstat (limited to 'pkgs/development/libraries/audio')
0 files changed, 0 insertions, 0 deletions