The package name in Haskell for the redis challenge seems to be hardcoded

By package name, I’m referring to tbe name in the package.yaml file. I changed it recently then became unable to test or submit my code cause the remote runners seem to be expecting the default package name.

Is this intentional? Would it be possible to get the remote runners to respect the package name set in the package.yaml? Could this be done via an environment variable in one of the script files in the .codecrafters directory?

Hey @OlaoluwaM, modifying the name field in package.yaml won’t work, because the package name is currently hardcoded in the Dockerfile:

Out of curiosity, what prompted you to change the package name? If you share a bit more context, we can try to find a workaround that works for you.

Nothing much, “redis-haskell” just sounded more fitting to me. It’s not really a huge deal (though it’ll be nice to have)

Although we could try to avoid hardcoding the package name in the Dockerfile, it may disrupt build caching, which is especially important given the already long build times.

That said, we’ll look into possible improvements that maintain performance while offering more flexibility.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.