git.iko.soy/typeable/cabal2nix
on master help sign in
README.md: provide brief instructions how to build and install this package

Resolves https://github.com/NixOS/cabal2nix/issues/148.

commitbccef2cc7c083e1379dd0788cb61f90d34afe82d authorPeter Simons <simons@cryp.to> dateFri 7 Aug 2015, 22:47 (11 years ago) parent0b90fb5
1 file changed+15
README.md+15
README.md+15
@@ -67,3 +67,18 @@ The `cabal2nix.cabal` file for this package is automatically generated by the
6767where `x86_64-linux` should be replaced with whatever system ID is appropriate
6868for your local machine. Basically, `generate-cabal-file.hs` requires the
6969[cartel](http://hackage.haskell.org/package/cartel) library and `git` to run.
70+
71+With the Cabal file in place, this is a normal Haskell project that can be
72+compiled with `cabal-install`.
73+
74+Users of Nix can build this package by running
75+
76+ nix-build release.nix -A cabal2nix.ghc7102.x86_64-linux
77+
78+where, again, `x86_64-linux` should be replaced with the appropriate value.
79+This gives you an executable at `result/bin/cabal2nix`. If you'd like to
80+install the latest release version, then
81+
82+ nix-env -f "<nixpkgs>" -iA cabal2nix
83+
84+is the way to go.