diff --git a/pkgs/development/haskell-modules/default.nix b/pkgs/development/haskell-modules/default.nix index 7ba06b6b60c1..df17c769ea2d 100644 --- a/pkgs/development/haskell-modules/default.nix +++ b/pkgs/development/haskell-modules/default.nix @@ -56,7 +56,7 @@ let haskellSrc2nix = { name, src, sha256 ? null }: let - sha256Arg = if isNull sha256 then "" else ''--sha256="${sha256}"''; + sha256Arg = if isNull sha256 then "--sha256=" else ''--sha256="${sha256}"''; in pkgs.stdenv.mkDerivation { name = "cabal2nix-${name}"; buildInputs = [ pkgs.cabal2nix ];