Since 1807, based on a well-known fairy tale. Literally, "to cook a soup on a nail".
koka soppa på en spik