Mango The Fourth

Results 295 comments of Mango The Fourth

Can anyone point me at where this > bla-0.1.0.0/installed-Hsuvz2e1aJzCilZPkGBZy8 comes form? Maybe I can fix it if I know.

If I put a `sourc-repository-package` into the `cabalProjectLocal`, it doesn't get picked up by the shell either. (This time, the *entire* package is missing) I still works for the `nix...

I'm thinking that something's wrong with `shell`. (or the way I used it.)

I think I found the issue: ```nix 131 │ # Collect all (transitive) Haskell library dependencies of a 132 │ # component. 133 │ ## flatLibDepends :: Component -> [Package]...

if I add the sublibs in the flatLibDepends function, the derivation gets added to buildInputs which before isn't the case ghc-pkg list includes the sublib dependency but marks it as...

It also seems like its given a weird name, in case of my reproducer: ``` /nix/store/5kyyvr8cd18a9bhfklrqk7hwprjwadaj-ghc-shell-for-blup-ghc-8.10.7-env/lib/ghc-8.10.7/package.conf.d array-0.5.4.0 base-4.14.3.0 bla-0.1.0.0 z-bla-z-blabla-0.1.0.0 -- this is blue deepseq-1.4.4.0 ghc-boot-th-8.10.7 ghc-prim-0.6.1 integer-gmp-1.0.3.0 pretty-1.1.3.6 rts-1.0.1...

so the reason it does not look up the `components.sublib` is that when you're trying to add the library you need to be explicit about it and if not, it...

It seems the normal nixpkgs haskell infrastructure also can't handle sublibs.

@hamishmack as you suggested I investigated the `package-db` that's generated by haskell.nix a bit more and it seems to be exactly the same if I compare it to the one...