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