Created
January 30, 2015 11:27
-
-
Save wavewave/5bac4d74d712a90ab815 to your computer and use it in GitHub Desktop.
my config.nix
This file contains hidden or 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
| { | |
| packageOverrides = pkgs: rec { | |
| # | |
| hepNixOverlay = | |
| let self = pkgs.callPackage /home/wavewave/repo/src/hep-nix-overlay {}; | |
| in pkgs.recurseIntoAttrs self; | |
| # | |
| yesodEnv = | |
| let hsenv = with (pkgs // pkgs.haskellPackages); ghcWithPackages | |
| (self : [ cabalInstall | |
| hjsmin persistentSqlite split hastache | |
| yesod yesodStatic cryptohashConduit classyPreludeConduit | |
| ]); | |
| in pkgs.myEnvFun { | |
| name = "yesod"; | |
| buildInputs = with pkgs; [ hsenv hepNixOverlay.FeynHiggs ]; | |
| extraCmds = '' | |
| $(grep export ${hsenv.outPath}/bin/ghc) | |
| ''; | |
| }; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment