Skip to content

Map extra-libraries: FLAC to pkgs.flac #566

Closed
@414owen

Description

@414owen

I'm trying to fix the nix build of https://github.com/mrkkrp/flac, which lists

    extra-libraries:  FLAC

I've tried adding:

libNixName "FLAC" = return "flac"

to src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs

However this produces:

{ mkDerivation, base, ... flac, ... }:
mkDerivation {
  ...
  librarySystemDepends = [ flac ];
  ...
}

Which seems to be making the derivation recursive, as opposed to using flac from nixpkgs.

I'm not entirely sure how to deal with this apparent clash between nix and haskell package names

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions