The problem was that the rocks were blocking the path to the secret room and required a pickaxe to mine, not that the pickaxe was required when making the purchase for the new one.