Created
October 4, 2018 22:46
-
-
Save sevanspowell/2a1dc0382074f4c7cfc3d2f204037b8c to your computer and use it in GitHub Desktop.
Example shell.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ compiler ? "ghc822" }: | |
let | |
pkgs = import <mypkgs> { }; | |
drv = pkgs.haskellPackages.my-private-package; | |
in | |
if pkgs.lib.inNixShell then drv.env else drv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment