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
Hi Daniel, Nicolas,
thanks for your suggestions.
@Daniel:
I can't yet run configurePhase, because I'm trying to install nix
itself. My complete actions are as attached.
@Nicolas: the log indicates that pkg-config with at least version
0.9.0... is present.
Best,
Michiel
DP> Run
+1 for that question, I would like to know the answer as well.
2016-04-01 16:34 GMT+00:00 Paul Cooley :
> We are creating a custom channel with our private artifacts for NixOS.
> This includes setting up users, custom daemons, and etc.
> While I have the channel
Run configurePhase, not ./configure. You'll find that we pass quite a few
things in through $confgureFlags and just typing ./configure loses those.
Something similar bit me the other day, but the readme does say to write
configurePhase.
> On Apr 2, 2016, at 06:06, ml.softw...@leenaa.rs wrote:
You can look for all the dependencies in the way we build the tarball
in nix/release.nix file.
I think the problem might be that you are missing pkgconfig, which is
used to locate the inputs.
I would hope that any dependency is being explicitly list in the
release.nix file.
On Sat, Apr 2, 2016
Hi all,
I wanted to see what the status was of FreeBSD support (basically
because I a jail running that needed some new software and I'd like
Nix to manage the dependencies), and noticed something unexpected:
1) I clone the Nix git repository from https://github.com/NixOS/nix
2) I execute