diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4a1a930ea34..7bc300859301 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10266,7 +10266,7 @@ let d4x = callPackage ../applications/misc/d4x { }; - darcs = haskell-ng.lib.overrideCabal haskell-ng.packages.ghc784.darcs (drv: { + darcs = haskell-ng.lib.overrideCabal haskellngPackages.darcs (drv: { configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"]; enableSharedExecutables = false; isLibrary = false;