Replies: 1 comment
-
haskell-flake provides the "output" project module that you can import: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Haskell package on GitHub which has a flake.nix in it and a
packages.default
defined viacallCabal2nix
. I'd like to specify this as a dependency to my other flake-based Haskell project. However:and then
Does not work:
The overarching problem here might be that the package on hackage is called "hdf5", and it
pkgconfigDepends
onhdf5
(see https://github.com/picca/hs-hdf5/blob/devel/hdf5.cabal#L126). But that must bepkgs.hdf5
, the C library, nothaskellPackages.hdf5
.I have no idea how to debug or even fix this. The flake for my hdf5 project fixes this by specifying
hdf5 = pkgs.hdf5
in the input, so I thought I could easily plug it into the other flake and be done with it.Beta Was this translation helpful? Give feedback.
All reactions