-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map extra-libraries: FLAC
to pkgs.flac
#566
Comments
Your solution is correct. Because let
pkgs = import <nixpkgs> {};
in
haskellPackages.callPackage ./generated-by-cabal2nix.nix {
inherit (pkgs) flac;
} (When generating |
Interesting. A few thoughts:
|
Those are good questions and you are not the first person to be annoyed by this design.
|
It's not just that, it is also fundamental to the design to nixpkgs that packages are passed individually via |
I'm trying to fix the nix build of https://github.com/mrkkrp/flac, which lists
I've tried adding:
to
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs
However this produces:
Which seems to be making the derivation recursive, as opposed to using
flac
fromnixpkgs
.I'm not entirely sure how to deal with this apparent clash between nix and haskell package names
The text was updated successfully, but these errors were encountered: