Steps: 1. ~$ git clone https://github.com/NixOS/nixpkgs.git 2. ~$ cd nixpkgs/pkgs/development/libraries/haskell/; mkdir categories; mkdir pipes-core; cd ../../../../ 3. nixpkgs$ cabal2nix cabal://categories-1.0.3 > pkgs/development/libraries/haskell/categories/default.nix nixpkgs$ cabal2nix cabal://pipes-core-0.1.0 > pkgs/development/libraries/haskell/pipes-core/default.nix 4. edit pkgs/top-level/haskell-packages.nix 5. edit pkgs/top-level/haskell-default.nix to add FORCE_REBUILD = 1; (but maybe this is redundant, because hash-warnings were not solved) 6. nixpkgs$ nix-env -f . -iA haskellPackages.pipesCore 7. nixpkgs$ ghc-pkg check
2012/8/15 Andres Loeh <[email protected]> > > After rechecking found, that installing `pipes-core` package didn't > install > > `categories` package, .nix file for which I added also. When I installed > > `categories`, it worked. Is it a bug? `Categories` package is mentioned > in > > dependencies in pipes-core/default.nix > > From your description, I don't fully understand what went wrong, but > it sounds like something that shouldn't happen. Usually, if you > install a Haskell package via nix-env, all its Haskell dependencies > end up in the user environment, too. Do you have a sequence of > commands that demonstrates the problem, so that I can try to reproduce > it? > > Cheers, > Andres >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
