summary refs log tree commit diff
path: root/nixos/modules/virtualisation/nova.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-11-09 20:36:25 +0100
committerPeter Simons <simons@cryp.to>2013-11-09 20:36:25 +0100
commit981c28735583f983ae25050fd1fc9533ae501aa0 (patch)
treec9f792b5fb5fd2d2c07c698aa7cc0697f620da8b /nixos/modules/virtualisation/nova.nix
parent46581c6918b06fa502a587a509229e5eccc07d5e (diff)
downloadnixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar.gz
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar.bz2
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar.lz
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar.xz
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.tar.zst
nixlib-981c28735583f983ae25050fd1fc9533ae501aa0.zip
ghc: several enhancements to the new "with-packages" wrapper
 1) The wrapper erroneously used the ghc-pkg flag "--package-db" instead of
    "--global-package-db". The result was that packages installed locally in
    ~/.ghc and ~/.cabal were invisible to GHC. This has been fixed.

 2) The wrapper now deals gracefully with an empty package set: if no package
    is requested to be included in the wrapped environment, the wrapper just
    installs a pristine GHC.

 3) Correctly configure the "docdir" path returned by ghc-paths.

 4) Added some comments that describe the idea behind our ghc-paths patches and
    gives users same sample shell code that can be used to import our special
    environment variables into the currently running shell, so that programs
    outside of the wrapped environment can use them, too.
Diffstat (limited to 'nixos/modules/virtualisation/nova.nix')
0 files changed, 0 insertions, 0 deletions