diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index d2832752465b..4861a1572be7 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -3537,7 +3537,6 @@ broken-packages: - newtype-th - next-ref - nextstep-plist - - nfc - NGrams - niagra - nibblestring diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index fb0aacb4ef4e..3fefcc56b46e 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -165,6 +165,8 @@ package-maintainers: - spago - stack - termonad + centromere: + - nfc dalpd: - ghc-vis - svgcairo diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index c39a4d59d1a0..a56df28181d2 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -973,6 +973,13 @@ self: super: builtins.intersectAttrs super { ''; }) super.jacinda; + nfc = overrideCabal (drv: { + isExecutable = true; + executableHaskellDepends = with self; drv.executableHaskellDepends or [] ++ [ base base16-bytestring bytestring ]; + configureFlags = drv.configureFlags or [] ++ [ "-fbuild-examples" ]; + enableSeparateBinOutput = true; + }) super.nfc; + # haskell-language-server plugins all use the same test harness so we give them what we want in this loop. } // pkgs.lib.mapAttrs (_: overrideCabal (drv: { diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 7aca194e0f41..254034ee5fde 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -200632,8 +200632,7 @@ self: { libraryToolDepends = [ c2hs ]; description = "libnfc bindings"; license = lib.licenses.publicDomain; - hydraPlatforms = lib.platforms.none; - broken = true; + maintainers = [ lib.maintainers.centromere ]; }) {inherit (pkgs) libnfc;}; "ngram" = callPackage