Brian, thank you for your response.
2016-04-03 5:35 GMT+00:00 Brian McKenna :
> You need to call pkgs.haskellPackages.callPackage on my-dep, so it
> will look something like:
>
> dependencies = with pkgs.haskellPackages; [
> aeson (callpackage my-dep { })
> ];
>
> It's also possible
You need to call pkgs.haskellPackages.callPackage on my-dep, so it
will look something like:
dependencies = with pkgs.haskellPackages; [
aeson (callpackage my-dep { })
];
It's also possible to use the 'override' attribute instead, which
would be useful if you later add a dependency
Hi,
I'm trying to make a nix/haskell package (with executable) with some
dependencies (from nixpkgs and some locally declared).
I have my-dep directory with haskell package exposing library and src
directory which contains application using my-dep dependency and aeson
package from nixpkgs.
Here