diff options
| author | Peter Simons <simons@cryp.to> | 2015-06-02 13:58:57 +0200 |
|---|---|---|
| committer | Peter Simons <simons@cryp.to> | 2015-06-02 14:17:16 +0200 |
| commit | ba809cf9a3aa2aefe9721e003c07d53767f2032b (patch) | |
| tree | 57160850a741a68da9d92d81116b1660821d902e /pkgs/development/python-modules/httpserver | |
| parent | b812e5f0579a810b1adbd219b8a6d3ace9877e27 (diff) | |
haskell: add three new helper functions to the lib module
- sdistTarball transforms a normal Haskell build into one that produces a
release tarball by running "sdist". For example:
$ nix-shell -p "haskell.lib.sdistTarball haskellPackages.mtl" --command 'tar tfv $nativeBuildInputs/*tar.gz'
- buildFromSdist transforms a normal Haskell build into one that compiles the
package the an sdist release tarball created by Nix. For example:
$ nix-shell -p "haskell.lib.buildFromSdist haskellPackages.mtl" --command "exit 0"
- buildStrictly transforms a normal Haskell build into one that (a) compiles
the source code with "-Wall -Werror" flags and (b) uses as input a locally
generated sdist release tarball. For example:
$ nix-shell -p "haskell.lib.buildStrictly haskellPackages.mtl" --command "exit 0"
This function is particularly useful for continuous Hydra builds of Haskell
packages.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
