Chef-solo cookbook to install ghc (The Glasgow Haskell Compiler) and cabal. Installs ghc from package or binary, and cabal from package or source.
TODO: Installs ghc from source.
- Ubuntu, Debian
TODO: List you cookbook attributes here.
Just include haskell
in your node's run_list
:
{
"haskell":{
"ghc":{
"install_method":"binary",
"version":"7.6.3",
"prefix_dir":"/u/apps/ghc",
"cache_dir":"/tmp/ghc"
},
"cabal":{
"install_method":"source",
"version":"1.16.0.2",
"cache_dir":"/tmp/cabal"
}
},
"run_list": [
"recipe[haskell]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors:: Masahiro Yamauchi (sgt.yamauchi@gmail.com) Copyright:: 2013, Masahiro Yamauchi License:: Apache 2.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.